Can't authenticate Crunchyroll, CrunchyrollAPIError: Unauthenticated request
See original GitHub issueIssue
- This is not a bug report, feature request, or plugin issue/request.
- I have read the contribution guidelines.
Description
Version: Streamlink 1.3.1
Streamlink’s Crunchyroll plugin is failing with a CrunchyrollAPIError: Unauthenticated request
error.
Expected / Actual behavior
The following command should authenticate with the valid Crunchyroll account, and then play the stream at the specified quality in the specified player.
streamlink --crunchyroll-username=<user> --crunchyroll-password=<pass> https://www.crunchyroll.com/somali-and-the-forest-spirit/episode-1-journeying-parent-and-child-792285 best --player "D:\Program Files\VideoLAN\VLC\vlc.exe"
What actually happens is the following error:
[cli][info] Found matching plugin crunchyroll for URL https://www.crunchyroll.com/somali-and-the-forest-spirit/episode-1-journeying-parent-and-child-792285
Traceback (most recent call last):
File "runpy.py", line 193, in _run_module_as_main
File "runpy.py", line 85, in _run_code
File "D:\Program Files (x86)\Streamlink\bin\streamlink.exe\__main__.py", line 18, in <module>
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 1038, in main
handle_url()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 578, in handle_url
streams = fetch_streams(plugin)
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 458, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugin\plugin.py", line 317, in streams
ostreams = self._get_streams()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 306, in _get_streams
api = self._create_api()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 365, in _create_api
api.start_session()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 197, in start_session
self.session_id = self._api_call("start_session", params, schema=_session_schema)
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 173, in _api_call
raise CrunchyrollAPIError(err_msg, err_code)
streamlink.plugin.crunchyroll.CrunchyrollAPIError: Unauthenticated request
Reproduction steps / Explicit stream URLs to test
Run the following command with a valid Crunchyroll account for user/pass:
streamlink --crunchyroll-username=<user> --crunchyroll-password=<pass> https://www.crunchyroll.com/somali-and-the-forest-spirit/episode-1-journeying-parent-and-child-792285 best --player "D:\Program Files\VideoLAN\VLC\vlc.exe"
Logs
[cli][debug] OS: Windows 10
[cli][debug] Python: 3.6.6
[cli][debug] Streamlink: 1.3.1
[cli][debug] Requests(2.22.0), Socks(1.7.1), Websocket(0.57.0)
[cli][info] Found matching plugin crunchyroll for URL https://www.crunchyroll.com/somali-and-the-forest-spirit/episode-1-journeying-parent-and-child-792285
[cli][debug] Plugin specific arguments:
[cli][debug] --crunchyroll-username=<user_removed> (username)
[cli][debug] --crunchyroll-password=<pass_removed> (password)
[utils.l10n][debug] Language code: en_US
[plugin.crunchyroll][debug] Creating session with locale: en_US
Traceback (most recent call last):
File "runpy.py", line 193, in _run_module_as_main
File "runpy.py", line 85, in _run_code
File "D:\Program Files (x86)\Streamlink\bin\streamlink.exe\__main__.py", line 18, in <module>
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 1038, in main
handle_url()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 578, in handle_url
streams = fetch_streams(plugin)
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink_cli\main.py", line 458, in fetch_streams
sorting_excludes=args.stream_sorting_excludes)
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugin\plugin.py", line 317, in streams
ostreams = self._get_streams()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 306, in _get_streams
api = self._create_api()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 365, in _create_api
api.start_session()
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 197, in start_session
self.session_id = self._api_call("start_session", params, schema=_session_schema)
File "D:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins\crunchyroll.py", line 173, in _api_call
raise CrunchyrollAPIError(err_msg, err_code)
streamlink.plugin.crunchyroll.CrunchyrollAPIError: Unauthenticated request
Additional comments, screenshots, etc.
Love Streamlink? Please consider supporting our collective. Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
plugins.crunchyroll: Unauthenticated request error, login ...
The Crunchyroll plugin worked well last Sunday. Now I get an Unauthenticated request message, even though my username/password haven't changed.
Read more >Unauthenticated request crunchyroll++ : r/AltStore - Reddit
Can anyone help me when I download crunchyroll++ it always says Retry Unauthenticated request if anyone knows, please help.
Read more >Crunchyroll Login Unauthenticated Request - LoginsLink
Find the official link to Crunchyroll Login Unauthenticated Request. Explore videos, FAQs, troubleshooting, and users feedback about crunchyroll.com.
Read more >المنتديات - Unauthenticated Request Error - Crunchyroll
I've been getting an error saying "Unauthorized request" for the last couple of days now. This is the second time this happened.
Read more >How To Fix Crunchyroll Not Working Problem Android & Ios
Crunchyroll #NotOpen #NotWorking #ProblemHow To Fix Crunchyroll App Not Working Problem Android & Ios - Crunchyroll Not Open, Not Loading ...
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
it seem they changed access_token try WveH9VkPLrXvuNm in place of Scwg9PRRZ19iVwD
Having the same issue as well; it seems to work by using the
--crunchyroll-session-id
option with a session id generated on the website though.