Closed gingerbeardman closed 4 years ago
it seems the json response has been changed. It may need to be modified
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I am unable to replicate this problem. The provider functions perfectly fine. However, it maybe worth noting that the trollvid extractor is returning an incorrect link
Unable to replicate too, but it should be noted that hosts is very unreliable if something is changed, soup.find("div", {"class":"col-sm-9"}).find("script").text[30:-6]
should be replaced with regex IMO
Even with trollvid related with mp4upload it still fails.
How can I debug this problem further?
How can I debug this problem further?
The issue happends before extractors are reached, add print(hosts) on line 64 in /usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/sites/ryuanime.py like picture and post output. I'm guessing cracking this or https://github.com/vn-ki/anime-downloader/issues/384 will solve both issues.
here we go
edit: corrected!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="ie=edge" http-equiv="x-ua-compatible"/>
<meta content="Watch Penguin Highway MOVIE English Sub. Stream Penguin Highway MOVIE English Sub online for free! " name="description"/>
<title>Watch Penguin Highway MOVIE English Sub Online</title>
<!-- Bootstrap CSS & Fontawesome -->
<link crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" rel="stylesheet"/>
<script defer="" src="https://use.fontawesome.com/releases/v5.0.0/js/all.js"></script>
<!-- Custom CSS -->
<link href="/css/style.css?v=0.002" rel="stylesheet"/>
<!-- Fake favicon, replace with real one-->
<link href="https://www1.ryuanime.com/img/favicon.ico" rel="icon" type="image/png"/>
<!-- PopAds.net Popunder Code for www1.ryuanime.com | 2018-07-29,2624418,0,0 -->
<script data-cfasync="false" type="text/javascript">
/*<![CDATA[/* */
/* Privet darkv. Each domain is 2h fox dead */
(function(){ var p=window;p["_pop"]=[["\u0073\u0069\x74\x65\u0049\u0064",2624418],["\u006d\x69\u006e\u0042\x69\u0064",0],["po\u0070\x75n\u0064\x65\x72s\u0050\u0065\u0072I\x50",0],["\x64\u0065lay\u0042\x65t\u0077ee\u006e",0],["d\u0065fa\x75l\u0074",false],["d\x65\x66a\x75\u006c\u0074P\x65\x72\x44\u0061\x79",0],["\x74\u006fp\x6do\x73tL\u0061\u0079\x65r",!0]];var w=["\u002f\u002f\u00631.\x70\u006fp\u0061\x64s.\x6e\x65\u0074\x2fp\u006f\u0070.\x6as","\u002f/c\u0032\x2ep\x6fpad\u0073\u002e\x6e\x65\u0074/\u0070\u006fp.\x6a\x73","\u002f\u002fw\x77\u0077.g\u0073\x6a\x68\u0065h\u0074q\x76\u0069n\x2e\x63\u006f\x6d\u002fov\u002e\u006a\x73","/\u002f\x77\u0077w\u002exrm\u0074\u0076\x7ap\x69\x67.co\u006d/o.\u006as",""],e=0,t,r=function(){if(""==w[e])return;t=p["\u0064\u006f\x63\x75\x6d\x65\u006e\u0074"]["\u0063re\x61\u0074e\u0045l\u0065men\x74"]("\u0073c\x72\u0069\x70\u0074");t["ty\u0070\u0065"]="\u0074\x65\x78\u0074\u002f\x6a\x61\u0076a\u0073c\u0072i\u0070\x74";t["\u0061\x73y\x6e\x63"]=!0;var j=p["\u0064\u006fc\u0075\u006dent"]["\x67e\x74\u0045\u006c\u0065\u006d\u0065\u006e\u0074\x73\x42\u0079\x54\x61\u0067\x4e\x61\x6de"]("\u0073c\x72\u0069\u0070t")[0];t["\u0073\u0072\x63"]=w[e];if(e<2){t["\u0063\x72\x6f\x73\u0073\u004fri\u0067\x69n"]="\x61n\u006f\x6ey\x6d\x6fus";};t["\u006f\u006e\x65r\x72\x6f\u0072"]=function(){e++;r()};j["\x70\u0061re\u006e\u0074N\u006f\x64\u0065"]["\x69\x6ese\u0072t\u0042\u0065\x66o\x72e"](t,j)};r()})();
/*]]>/* */
</script>
</head>
<body class="bg-dark">
<!-- BEGIN CPMSTAR TWO-SIDED ASYNCHRONOUS SITESKIN CODE 20130626 -->
<script type="text/javascript">
var cpmstar_siteskin_settings = {
pid: 29414, //your poolid
centerWidth: '1120px', //distance IN PIXELS of ad from left side of page, e.g. "800px"
fixed: '1', //fix ads near top of screen: "0" to allow ads to scroll with page
topPos: '0px', //optionally shift the ad down from top of page
zIndex: 100 //adjust layering of ad vs. other page elements
};
(function(){var t=document.createElement('script');t.type='text/javascript';t.async=1;t.src=(document.location.protocol == "https:"?"//server":"//cdn") + ".cpmstar.com/cached/js/siteskin_v100.pack.js";var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(t,s);})();
</script>
<!-- END CPMSTAR SITESKIN CODE -->
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top mb-4">
<div class="container">
<button aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler" data-target="#navbarSupportedContent" data-toggle="collapse" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/anime-list">Anime</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/anime-movies">Movies</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/genres">Genres</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/ongoing-anime">Ongoing</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www4.ryuanime.com/anime/4407-tenka-hyakken-meiji-kan-e-youkoso">Random</a>
</li>
</ul>
<form action="/search" class="form-inline my-2 my-lg-0" method="get">
<input aria-label="Search" class="form-control mr-sm-2" name="term" placeholder="Search" type="search"/>
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<div class="container" id="wrapper">
<center><script language="Javascript">
var cpmstar_rnd=Math.round(Math.random()*999999);
var cpmstar_pid=11078;
document.writeln("<SCR"+"IPT language='Javascript' src='//server.cpmstar.com/view.aspx?poolid="+cpmstar_pid+"&script=1&rnd="+cpmstar_rnd+"'></SCR"+"IPT>");
</script></center><br/><br/>
<div class="row">
<div class="col-sm-9">
<div class="card">
<div class="card-header"><h1>Penguin Highway MOVIE English Sub</h1></div>
<div class="card-body">
<div class="btn-group mb-1" role="group">
<button aria-expanded="false" aria-haspopup="true" class="btn btn-secondary btn-sm dropdown-toggle" data-toggle="dropdown" id="btnGroupDrop1" type="button">Video Mirrors</button>
<div aria-labelledby="btnGroupDrop1" class="dropdown-menu" id="mirrors"></div>
</div>
<div class="nav nav-tabs float-right" id="parts"></div>
<div class="clearfix"></div>
<div class="embed-container" id="player" style="min-height: 300px"></div>
<div class="clearfix m-1">
</div>
<p>February 23, 2019</p>
<p></p>
<p><iframe frameborder="0" height="252" src="//mg.mgid.com/mghtml/framehtml/c/r/y/ryuanime.com.122087.html" width="742"></iframe></p>
</div>
</div>
<script type="text/javascript">
var episode_videos = [{"host":"trollvid","id":"4a0d5f1a1b59","type":"subbed","date":"2019-02-23 02:33:29"},{"host":"mp4upload","id":"pv3eojrun2qz","type":"subbed","date":"2019-02-23 01:26:22"}];
</script>
</div>
<div class="col-sm-3">
<div class="card">
<div class="card-header">Sponsor</div>
<div class="card-body">
<ul class="list-unstyled">
<script language="Javascript">
var cpmstar_rnd=Math.round(Math.random()*999999);
var cpmstar_pid=11079;
document.writeln("<SCR"+"IPT language='Javascript' src='//server.cpmstar.com/view.aspx?poolid="+cpmstar_pid+"&script=1&rnd="+cpmstar_rnd+"'></SCR"+"IPT>");
</script>
</ul>
</div>
</div>
<br/>
<div class="card">
<div class="card-header">Ongoing</div>
<div class="card-body">
<ul class="list-unstyled">
<li><small><a href="https://www4.ryuanime.com/anime/3721-toaru-majutsu-no-index-iii">Toaru Majutsu no Index III</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3678-shingeki-no-kyojin-season-3">Shingeki no Kyojin Season 3</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3186-black-clover-tv">Black Clover (TV)</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3822-boogiepop-wa-warawanai-2019">Boogiepop wa Warawanai (2019)</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/2568-boruto-naruto-next-generations">Boruto: Naruto Next Generations</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3586-cardfight-vanguard-2018">Cardfight!! Vanguard (2018)</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/4243-dr-stone">Dr. Stone</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/2013-dragon-ball-super">Dragon Ball Super</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3854-endro">Endro~!</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/4006-fairy-gone">Fairy Gone</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3742-fairy-tail-final-series">Fairy Tail: Final Series</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3685-future-card-shin-buddyfight">Future Card Shin Buddyfight</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3662-happy-sugar-life">Happy Sugar Life</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3729-hinomaruzumou">Hinomaruzumou</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/186-hunter-x-hunter-2011">Hunter x Hunter (2011)</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/2229-jojo-no-kimyou-na-bouken-diamond-wa-kudakenai">JoJo no Kimyou na Bouken: Diamond wa Kudakenai</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3209-houseki-no-kuni-tv">Houseki no Kuni (TV)</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3853-mahou-shoujo-tokushusen-asuka">Mahou Shoujo Tokushusen Asuka</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3517-megalo-box">Megalo Box</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3838-meiji-tokyo-renka">Meiji Tokyo Renka</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/4381-boku-no-hero-academia-4th-season">Boku no Hero Academia 4th Season</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3835-doukyonin-wa-hiza-tokidoki-atama-no-ue">Doukyonin wa Hiza, Tokidoki, Atama no Ue.</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/48-one-piece">One Piece</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/4026-one-punch-man-2nd-season">One Punch Man 2nd Season</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/2471-pokemon-sun-moon">Pokemon Sun & Moon</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3736-radiant">Radiant</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3665-shoujo-kageki-revue-starlight">Shoujo☆Kageki Revue Starlight</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3839-rinshi-ekoda-chan">Rinshi!! Ekoda-chan</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3720-sword-art-online-alicization">Sword Art Online: Alicization</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3824-fukigen-na-mononokean-tsuzuki">Fukigen na Mononokean Tsuzuki</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3848-yakusoku-no-neverland">Yakusoku no Neverland</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3844-5-toubun-no-hanayome">5-toubun no Hanayome</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/3756-tsurune-kazemai-koukou-kyuudoubu">Tsurune: Kazemai Koukou Kyuudoubu</a></small></li><li><small><a href="https://www4.ryuanime.com/anime/2601-yu-gi-oh-vrains">Yu☆Gi☆Oh! VRAINS</a></small></li> </ul>
</div>
</div>
</div> </div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script src="/js/episode.js?v=0.001" type="text/javascript"></script>
<footer class="footer">
<div class="container bg-light text-right">
<span class="text-muted">© 2018 RyuAnime All Rights Reserved. <script id="_wau4k5">var _wau = _wau || []; _wau.push(["dynamic", "ucehkc4mi3el", "4k5", "c4302bffffff", "small"]);</script><script async="" src="//waust.at/d.js"></script></span>
<span><b>Total Execution Time:</b> 0.08981 seconds</span>
</div>
<!-- BEGIN CPMSTAR ANCHOR AD CODE -->
<script type="text/javascript">
var cpmstar_anchorad_settings = {
poolid: 29416 //Pool ID assigned by CPMStar
};
(function (d, t, s) { t = d.createElement('script'); t.type = 'text/javascript'; t.src = (d.location.protocol == 'https:'?'//server':'//cdn') + '.cpmstar.com/cached/js/anchorad_v100.pack.js'; t.async = true; s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(t, s); })(document, {}, {});
</script>
<!-- END CPMSTAR ANCHOR AD CODE -->
</footer>
</body>
</html>
Traceback (most recent call last):
File "/usr/local/bin/anime", line 11, in <module>
load_entry_point('anime-downloader==4.3.0', 'console_scripts', 'anime')()
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/cli.py", line 53, in main
cli()
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/commands/dl.py", line 112, in command
for episode in animes:
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 198, in __iter__
yield episode_class(ep_id[1], parent=self, ep_no=ep_id[0])
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 293, in __init__
try_data()
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 289, in try_data
self.get_data()
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 349, in get_data
self._sources = self._get_sources()
File "/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/sites/ryuanime.py", line 65, in _get_sources
hosts = json.loads(soup.find("div", {"class":"col-sm-9"}).find("script").text[30:-6])
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
matt@matt:/usr/local/Cellar/anime-downloader/HEAD-c78df08/libexec/lib/python3.8/site-packages/anime_downloader/sites$
Same explanation and error as https://github.com/vn-ki/anime-downloader/issues/384#issuecomment-636527408
Describe the bug
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
To reproduce
LOG
``` matt@matt:~$ anime -ll DEBUG dl 'penguin highway' --provider ryuanime 2020-05-31 19:09:54 matt.local anime_downloader.util[41614] INFO anime-downloader 4.3.0 2020-05-31 19:09:54 matt.local anime_downloader.util[41614] DEBUG Platform: macOS-10.14.6-x86_64-i386-64bit 2020-05-31 19:09:54 matt.local anime_downloader.util[41614] DEBUG Python 3.8.2 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG GET https://www4.ryuanime.com/search 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {'params': {'term': 'penguin highway'}} 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2'} 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- send: b'GET /search?term=penguin+highway HTTP/1.1\r\nHost: www4.ryuanime.com\r\nuser-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Date: Sun, 31 May 2020 18:09:54 GMT header: Content-Type: text/html; charset=UTF-8 header: Transfer-Encoding: chunked header: Connection: keep-alive header: Set-Cookie: __cfduid=d4d5081f03f192e51c4b768dc75a28b161590948594; expires=Tue, 30-Jun-20 18:09:54 GMT; path=/; domain=.ryuanime.com; HttpOnly; SameSite=Lax; Secure header: Set-Cookie: PHPSESSID=r1mgv31e58tbi5e6vu211c3eoj; path=/ header: Expires: Thu, 19 Nov 1981 08:52:00 GMT header: Cache-Control: no-store, no-cache, must-revalidate header: Pragma: no-cache header: CF-Cache-Status: DYNAMIC header: cf-request-id: 030d861aca00006a0b5586e200000001 header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" header: Server: cloudflare header: CF-RAY: 59c2a60ade546a0b-LHR header: Content-Encoding: gzip 2020-05-31 19:09:54 matt.local anime_downloader.session[41614] DEBUG uncached request 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG https://www4.ryuanime.com/search?term=penguin+highway 2020-05-31 19:09:54 matt.local anime_downloader.sites.helpers.request[41614] DEBUG /var/folders/sy/jcz9n9dn2t98677rzpmyvkr00000gn/T/animedlg3sh2stl/tmppx3ctpjn +--------+-----------------+--------+ | 1 | Penguin Highway | | |--------+-----------------+--------| | SlNo | Title | Meta | +--------+-----------------+--------+ Enter the anime no: [1]: 1 2020-05-31 19:09:55 matt.local anime_downloader.util[41614] INFO Selected Penguin Highway 2020-05-31 19:09:55 matt.local anime_downloader.sites.anime[41614] INFO Extracting episode info from page 2020-05-31 19:09:55 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- 2020-05-31 19:09:55 matt.local anime_downloader.sites.helpers.request[41614] DEBUG GET https://www4.ryuanime.com/anime/3939-penguin-highway 2020-05-31 19:09:55 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {} 2020-05-31 19:09:55 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2'} 2020-05-31 19:09:55 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- send: b'GET /anime/3939-penguin-highway HTTP/1.1\r\nHost: www4.ryuanime.com\r\nuser-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nCookie: __cfduid=d4d5081f03f192e51c4b768dc75a28b161590948594; PHPSESSID=r1mgv31e58tbi5e6vu211c3eoj\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Date: Sun, 31 May 2020 18:09:56 GMT header: Content-Type: text/html; charset=UTF-8 header: Transfer-Encoding: chunked header: Connection: keep-alive header: Expires: Thu, 19 Nov 1981 08:52:00 GMT header: Cache-Control: no-store, no-cache, must-revalidate header: Pragma: no-cache header: CF-Cache-Status: DYNAMIC header: cf-request-id: 030d86201900006a0b55880200000001 header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" header: Server: cloudflare header: CF-RAY: 59c2a613593e6a0b-LHR header: Content-Encoding: gzip 2020-05-31 19:09:56 matt.local anime_downloader.session[41614] DEBUG uncached request 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG https://www4.ryuanime.com/anime/3939-penguin-highway 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG /var/folders/sy/jcz9n9dn2t98677rzpmyvkr00000gn/T/animedlg3sh2stl/tmplpjqs5fs 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG GET https://www4.ryuanime.com/anime/3939-penguin-highway 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {} 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2'} 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- 2020-05-31 19:09:56 matt.local anime_downloader.session[41614] DEBUG cached request 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG https://www4.ryuanime.com/anime/3939-penguin-highway 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG /var/folders/sy/jcz9n9dn2t98677rzpmyvkr00000gn/T/animedlg3sh2stl/tmp2rcnd8h1 2020-05-31 19:09:56 matt.local anime_downloader.sites.anime[41614] DEBUG EPISODE IDS: length: 1, ids: ['https://www4.ryuanime.com/anime/watch/189328-penguin-highway-movie-english-sub'] 2020-05-31 19:09:56 matt.local anime_downloader.commands.dl[41614] INFO Found anime: Penguin Highway 2020-05-31 19:09:56 matt.local anime_downloader.commands.dl[41614] INFO Downloading to /Users/matt/Downloads/1234_JD 2020-05-31 19:09:56 matt.local anime_downloader.sites.anime[41614] DEBUG Extracting stream info of id: https://www4.ryuanime.com/anime/watch/189328-penguin-highway-movie-english-sub 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG GET https://www4.ryuanime.com/anime/watch/189328-penguin-highway-movie-english-sub 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {} 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG {'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2'} 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG ----- send: b'GET /anime/watch/189328-penguin-highway-movie-english-sub HTTP/1.1\r\nHost: www4.ryuanime.com\r\nuser-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nCookie: __cfduid=d4d5081f03f192e51c4b768dc75a28b161590948594; PHPSESSID=r1mgv31e58tbi5e6vu211c3eoj\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n' header: Date: Sun, 31 May 2020 18:09:56 GMT header: Content-Type: text/html; charset=UTF-8 header: Transfer-Encoding: chunked header: Connection: keep-alive header: Expires: Thu, 19 Nov 1981 08:52:00 GMT header: Cache-Control: no-store, no-cache, must-revalidate header: Pragma: no-cache header: CF-Cache-Status: DYNAMIC header: cf-request-id: 030d86219e00006a0b55887200000001 header: Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" header: Server: cloudflare header: CF-RAY: 59c2a615ca036a0b-LHR header: Content-Encoding: gzip 2020-05-31 19:09:56 matt.local anime_downloader.session[41614] DEBUG uncached request 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG https://www4.ryuanime.com/anime/watch/189328-penguin-highway-movie-english-sub 2020-05-31 19:09:56 matt.local anime_downloader.sites.helpers.request[41614] DEBUG /var/folders/sy/jcz9n9dn2t98677rzpmyvkr00000gn/T/animedlg3sh2stl/tmptjy94hcy Traceback (most recent call last): File "/usr/local/bin/anime", line 11, in