/** * Get the search's url that has not been crawled yet. * * @return mixed */ protected function getNextNotCrawledUrl() { return $this->search->urls()->where('crawled', '0')->first(); }