Чиним парсер Anivisual (частично)

См. #1344
This commit is contained in:
Alexander Yakovlev 2023-02-28 17:47:14 +06:00
parent a0b44ae0f8
commit e3c3212f34

View file

@ -58,7 +58,10 @@ class Anivisual extends Source {
unset($text);
$this->dom->filter('#allEntries .entryBlock')->each(function($gameBlock) {
// Get the game link
$link = $gameBlock->filter('.novel-tmb a')->first();
$link = $gameBlock->filter('.novel-tmb a')->first();
if (!isset($link) || $link->count() === 0) {
return;
}
$link = 'http://anivisual.net'.$link->attr('href');
$this->page($link);
});