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();
|
||||
});
|
||||
|
@@ -33,5 +33,8 @@ return [
|
||||
],
|
||||
"color" => "green"
|
||||
],
|
||||
]
|
||||
],
|
||||
|
||||
|
||||
"playstore" => "https://play.google.com/store/apps/details?id=dev.baraveli.karudhaas"
|
||||
];
|
||||
|
Reference in New Issue
Block a user