Now it shouldn't include not existing episodes in the list.
master
Arjix 2021-06-30 18:26:41 +03:00 committed by GitHub
parent 50b14ff9bb
commit 9c9221ca86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class AnimeRush(Anime, sitename='animerush'):
def _scrape_episodes(self):
soup = helpers.soupify(helpers.get(self.url)).select('div.episode_list > a')
return ['https:' + i.get('href') for i in soup[::-1]]
return ['https:' + i.get('href') for i in soup[::-1] if "Coming soon" not in str(i)]
def _scrape_metadata(self):
soup = helpers.soupify(helpers.get(self.url))