master
Arjix 2021-02-07 00:42:53 +02:00 committed by GitHub
parent ad722c9e2d
commit 8616b00a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class Shiro(Anime, sitename='shiro'):
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()