Skip to content

Commit

Permalink
ez fix (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjixWasTaken committed Feb 6, 2021
1 parent ad722c9 commit 8616b00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions anime_downloader/sites/shiro.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def search(cls, query):
return []

def _scrape_episodes(self):
self.token = get_token()
slug = self.url.replace('https://shiro.is/anime/', '')
api_link = 'https://ani.api-web.site/anime/slug/' + slug
r = helpers.get(api_link, params={'token': self.token}).json()
Expand Down

0 comments on commit 8616b00

Please sign in to comment.