diff --git a/src/Parser/Anime/AnimeParser.php b/src/Parser/Anime/AnimeParser.php index f915a468..108217e8 100644 --- a/src/Parser/Anime/AnimeParser.php +++ b/src/Parser/Anime/AnimeParser.php @@ -568,7 +568,8 @@ function (Crawler $c) { */ public function getBackground(): ?string { - $background = Parser::removeChildNodes($this->crawler->filterXPath('//span[@itemprop="description"]/..')); + $background = Parser::removeChildNodes($this->crawler->filterXPath('//p[@itemprop="description"]/..')); + if (!$background->count()) { return null; }