Skip to content

Commit

Permalink
fix anime episode list parsing for some entries
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan-dahir committed May 22, 2022
1 parent 1c6c9b0 commit 3803cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser/Anime/VideosParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct(Crawler $crawler)
public function getEpisodes(): array
{
$episodes = $this->crawler
->filterXPath('//div[@class="js-video-list-content"]/div[contains(@class, "video-list-outer")]');
->filterXPath('//*[@id="content"]/table/tr/td[2]/div[2]/div[2]/div[contains(@class, "video-block episode-video")]//*[contains(@class, "video-list-outer")]');

if (!$episodes->count()) {
return [];
Expand Down

0 comments on commit 3803cc1

Please sign in to comment.