Skip to content

Commit

Permalink
fix: add title for anistream
Browse files Browse the repository at this point in the history
  • Loading branch information
vn-ki committed Jul 17, 2019
1 parent b90781e commit 5963e4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions anime_downloader/sites/anistream.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ def _scrape_episodes(self):
links = [v.attrs['href'] for v in version.select('a')][::-1]
return links

def _scrape_metadata(self):
soup = helpers.soupify(helpers.get(self.url))
self.title = soup.select_one('.card-header > h1').text


class AnistreamEpisode(AnimeEpisode, sitename='anistream.xyz'):
def _get_sources(self):
Expand Down

0 comments on commit 5963e4f

Please sign in to comment.