Crunchyroll authentication broke
See original GitHub issueBug Report
- This is a bug report and I have read the contribution guidelines.
Description
Crunchyroll authentication seems to have broken sometime in the last week. I successfully downloaded some episodes with my current rc/login a few days ago but now login fails. The actual CR website works fine, I’m logged in there.
Expected / Actual behavior
Expected behavior: stream plays/saves correctly Actual behavior:
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 369, in _create_api
login = api.authenticate()
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 217, in authenticate
data = self._api_call("authenticate", {"auth": self.auth}, schema=_login_schema)
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 173, in _api_call
raise CrunchyrollAPIError(err_msg, err_code)
streamlink.plugin.crunchyroll.CrunchyrollAPIError: User could not be found.
Reproduction steps / Explicit stream URLs to test
streamlink https://www.crunchyroll.com/rezero-starting-life-in-another-world-/episode-32-friend-796210 best -o rezero.mkv --crunchyroll-username=xxxx --crunchyroll-password=yyyy
Log output
C:\Users\kg\Desktop>streamlink https://www.crunchyroll.com/rezero-starting-life-in-another-world-/episode-32-friend-796210 best -o rezero.mkv --loglevel debug
[cli][debug] OS: Windows 10
[cli][debug] Python: 3.6.6
[cli][debug] Streamlink: 1.5.0
[cli][debug] Requests(2.24.0), Socks(1.7.1), Websocket(0.57.0)
[cli][info] Found matching plugin crunchyroll for URL https://www.crunchyroll.com/rezero-starting-life-in-another-world-/episode-32-friend-796210
[cli][debug] Plugin specific arguments:
[cli][debug] --crunchyroll-username=<snip> (username)
[cli][debug] --crunchyroll-password=******** (password)
[utils.l10n][debug] Language code: en_US
[plugin.crunchyroll][debug] Creating session with locale: en_US
[plugin.crunchyroll][debug] Session created with ID: cb4095f96be159e6cbae0373919a1a1f
[plugin.crunchyroll][debug] Using saved credentials
Traceback (most recent call last):
File "runpy.py", line 193, in _run_module_as_main
File "runpy.py", line 85, in _run_code
File "C:\Users\kg\AppData\Local\Streamlink\bin\streamlink.exe\__main__.py", line 18, in <module>
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink_cli\main.py", line 1024, in main
handle_url()
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink_cli\main.py", line 585, in handle_url
streams = fetch_streams(plugin)
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink_cli\main.py", line 465, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugin\plugin.py", line 317, in streams
ostreams = self._get_streams()
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 306, in _get_streams
api = self._create_api()
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 369, in _create_api
login = api.authenticate()
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 217, in authenticate
data = self._api_call("authenticate", {"auth": self.auth}, schema=_login_schema)
File "C:\Users\kg\AppData\Local\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 173, in _api_call
raise CrunchyrollAPIError(err_msg, err_code)
streamlink.plugin.crunchyroll.CrunchyrollAPIError: User could not be found.
Additional comments, screenshots, etc.
I tried manually passing a username/password using the command line arguments in addition to using saved credentials/the settings in my streamlinkrc, it doesn’t seem to work either.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
I paid for a premium membership, but don't have access to any ...
An error occurred that caused your membership to deactivate. If you can verify that the money for the membership was withdrawn from your...
Read more >Charged a dollar for trying to sign up for premium?! - Reddit
After awhile the adds became unbearable, so I looked on the crunchy roll website on my phone. I saw that there was a...
Read more >Crunchyroll down? Current problems and outages
Real-time problems and outages for Crunchyroll. Can't log in? Is the server down? Here you see what is going on.
Read more >Broken Authentication Session Bug In crunchyroll.com By ...
Broken Authentication Session Bug In crunchyroll.com By Khalifah Cyber Crew. Watch later. Share. Copy link. Info. Shopping. Tap to unmute.
Read more >Crunchyroll Oops Something Went Wrong? - (Easy Fix!)
Whenever the Crunchyroll Oops something went wrong error appears, it's not joking! Something broke. The crash could be related to the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The PR #3150 should also resolve this issue when the credentials have expired.
That did it, thanks. Might be worth putting that somewhere in the error message for this failure case if it’s straightforward to do. I’m guessing the credentials just expire, and this isn’t an API or server change?