Update _4anime.py

master
Arjix 2021-03-15 00:53:48 +02:00 committed by GitHub
parent ccf44444f4
commit 0ce02738be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class Anime4Episode(AnimeEpisode, sitename='4anime'):
text = helpers.deobfuscate_packed_js(text)
# E.g. document.write( '<a class=\"mirror_dl\" href=\"https://v3.4animu.me/One-Piece/One-Piece-Episode-957-1080p.mp4\"><i class=\"fa fa-download\"></i> Download</a>' );
stream_url = re.search(r"<source src=\\\"(.*?)\\", str(helpers.soupify(f"<script>{text}</script>"))).group(1)
stream_url = re.search(r"src=\\\\\"(.*)\\\\\" type", str(helpers.soupify(f"<script>{text}</script>"))).group(1)
return [('no_extractor', stream_url)]