Update shiro.py

master
Arjix 2021-08-04 00:00:51 +03:00 committed by GitHub
parent fc8bb2c105
commit b2538ef2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,5 +87,5 @@ class Shiro(Anime, sitename='shiro'):
class ShiroEpisode(AnimeEpisode, sitename='shiro'):
def _get_sources(self):
r = helpers.get(self.url, referer="https://shiro.is/").text
link = re.search(r'\"file\"\:\"(.*?)\"', r)[1]
link = re.search(r'source\s+src=\"(.*?)\"', r)[1]
return [('no_extractor', link)]