Oneoline ignore gallery articles

This commit is contained in:
2020-10-02 16:03:21 +05:00
parent 0ad44d2a13
commit f6bc0db286
2 changed files with 9 additions and 1 deletions

View File

@@ -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();
});

View File

@@ -33,5 +33,8 @@ return [
],
"color" => "green"
],
]
],
"playstore" => "https://play.google.com/store/apps/details?id=dev.baraveli.karudhaas"
];