diff --git a/src/Parser/Producer/ProducerParser.php b/src/Parser/Producer/ProducerParser.php index a8b6e40d..91b9c8f2 100644 --- a/src/Parser/Producer/ProducerParser.php +++ b/src/Parser/Producer/ProducerParser.php @@ -65,9 +65,9 @@ function (Crawler $animeCrawler) { */ public function getUrl(): Model\Common\MalUrl { - $title = $this->crawler->filterXPath('//*[@id="contentWrapper"]/div[1]/h1'); + $title = $this->crawler->filterXPath('//*[@class="title-name"]'); return new Model\Common\MalUrl( - $title->text(), + JString::cleanse($title->text()), $this->crawler->filterXPath('//meta[@property="og:url"]')->attr('content') ); }