Oneoline ignore gallery articles
This commit is contained in:
		| @@ -24,6 +24,11 @@ class OneOnlineScraper | ||||
|  | ||||
|         $crawler = $this->client->request('GET', $url); | ||||
|  | ||||
|         if($crawler->filter('.gallery-cover')->count() > 0) | ||||
|         { | ||||
|             return ; | ||||
|         } | ||||
|  | ||||
|         $crawler->filter('h1')->each(function ($node) { | ||||
|             $this->title = $node->text(); | ||||
|         }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user