parent
a0b44ae0f8
commit
e3c3212f34
|
@ -58,7 +58,10 @@ class Anivisual extends Source {
|
||||||
unset($text);
|
unset($text);
|
||||||
$this->dom->filter('#allEntries .entryBlock')->each(function($gameBlock) {
|
$this->dom->filter('#allEntries .entryBlock')->each(function($gameBlock) {
|
||||||
// Get the game link
|
// 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');
|
$link = 'http://anivisual.net'.$link->attr('href');
|
||||||
$this->page($link);
|
$this->page($link);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue