Skip to content

Commit

Permalink
fixes #529
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir committed Aug 20, 2023
1 parent 479d065 commit 60f5d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parser/Producer/ProducerParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}
Expand Down

0 comments on commit 60f5d0d

Please sign in to comment.