Closed Tama47 closed 6 months ago
I'm having issues as well.
[debug] Command-line config: ['-vU', '-a', '!1-Batch-URL.txt', '--replace-in-metadata', 'series', ':', '', '--write-sub', '--sub-lang', 'en-US', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0', '--cookies-from-browser', 'firefox', '-f', 'best[height=720]', '-o', 'Downloads\\%(series)s S%(season_number)02dE%(episode_number)02d.%(ext)s']
[debug] Batch file urls: ['https://www.crunchyroll.com/watch/GWDU8JD0Z/extreme-justice-is-extreme-injustice']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.03.10.232703 from yt-dlp/yt-dlp-nightly-builds [8463fb510] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: ffmpeg N-107013-g93b31dae1d-20220527 (setts), ffprobe N-107013-g93b31dae1d-20220527
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\w22netn6.default-release\cookies.sqlite"
Extracted 2957 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1803 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.03.10.232703 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.03.10.232703 from yt-dlp/yt-dlp-nightly-builds)
[crunchyroll] Extracting URL: https://www.crunchyroll.com/watch/GWDU8JD0Z/extreme-justice-is-extreme-injustice
[debug] [crunchyroll] Using cxApiParam=noaihdevm_6iyg0a8l0q
[crunchyroll] Authenticating with grant_type=etp_rt_cookie
[crunchyroll] GWDU8JD0Z: Downloading object info JSON (cms)
[crunchyroll] Retrieving signed policy
[crunchyroll] GWDU8JD0Z: Downloading stream info JSON (signed cms)
[crunchyroll] To get all formats of a hardsub language, use "--extractor-args crunchyrollbeta:hardsub=<language_code or all>". See https://github.com/yt-dlp/yt-dlp#crunchyrollbeta-crunchyroll for more info
[crunchyroll] GWDU8JD0Z: Downloading adaptive_hls HLS manifest
WARNING: [crunchyroll] Failed to download m3u8 information: HTTP Error 403: Forbidden
[crunchyroll] GWDU8JD0Z: Downloading chapter info
[info] GWDU8JD0Z: Downloading subtitles: en-US
ERROR: [crunchyroll] GWDU8JD0Z: No video formats found!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1594, in wrapper
File "yt_dlp\YoutubeDL.py", line 1750, in __extract_info
File "yt_dlp\YoutubeDL.py", line 1809, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 2797, in process_video_result
File "yt_dlp\YoutubeDL.py", line 1092, in raise_no_formats
yt_dlp.utils.ExtractorError: [crunchyroll] GWDU8JD0Z: No video formats found!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
here's the response body for the failed m3u8 requests:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>403 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
Request blocked.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
<BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
looks like this might be a temporary server-side issue (hopefully)
@Tama47 Your cookies were exposed in your original post's log. I've since edited it and removed them, but you should still sign out of all your CR sessions to be on the safe side. The original post was emailed to anyone who watches the repository and may be available via the github API or wayback machine, etc. I'd suggest changing your password as well
Any news on this? I got the same problem, always getting 403 even when I try to login and get token and so on.
@bashonly Thanks for letting me know and editing it out! I didn't know that running the yt-dlp with the -vU flag would include them. Should I not have passed --cookies-from-browser? Or was I supposed to remove them later? Also, you can mark the discussion regarding cookies as off topic.
@HiSHiR0 Bashonly said it's a server-side issue, so maybe the servers are just down for a bit? Hopefully, the issue just fixes itself in a few days.
Edit: @bashonly wouldn't this affect regular streaming though? Or do they not use the m3u8? Because I can watch from Crunchyroll directly just fine.
Same here. I can only get it to play in firefox if I enable DRM. Hopefully this doesn't mean they disabled the non-drm streams entirely.
@AgentConDier You can no longer play the stream with DRM disabled? I hope they are not doing what Hidive did…
DRM free ist still available. I have wrote a script myself and those streams are still available. Only requests to endpoints like token and so on ending up in 403
With --impersonate chrome:110
I got a bit further. But then it failed again with a 403 error on the last step.
@KasumiDev @HiSHiR0 the 403 error on the final/m3u8 step is the issue. Any 403 errors occurring prior to that are a different known issue tracked by #7442 (with known solutions/workarounds).
@HiSHiR0 are you willing to share how your script is able to download the HLS stream without getting 403'd?
Unfortunately I can’t share that script cause it’s part of a larger project. But normally ytdlp should also be able to grab those streams.
Not really sure if that problem is only about cloudflare I saw on their status site that since yesterday there are marked problems with their apps and till yesterday login with credentials worked perfect. But maybe they made adjustments on their cf protection
The m3u8 issue (this issue) has nothing to do with cloudflare AFAICT. The error response body posted above specifically states the request was blocked by cloudfront
workaround for now:
--extractor-args "crunchyrollbeta:format=vo_adaptive_hls"
I have the same problem as well since exactly 0:19 am (GMT +1) 14.03.2024
--extractor-args "crunchyrollbeta:format=vo_adaptive_hls"
What does this actually do? i am just curios.
Edit: that workaround did work for about 6 videos, then it broke again. And now it doesent work with/without that. Edit2: nvm, a minute later started working again, weird
The workaround works fine. Thnx.
Edit: Previously, the subtitle was hardcoded in the stream. With the workaround, I have to manually insert this into the video with ffmpeg before I can watch it with different players.
Workaround fixed issue on my end as well.
Edit: that workaround did work for about 6 videos, then it broke again. And now it doesent work with/without that. Edit2: nvm, a minute later started working again, weird
Same happened with me, possible rate-limiting?
Edit: using --cookies
instead of --netrc
fixed my issue
Encountered another problem using https://github.com/coletdjnz/yt-dlp-dev/commit/e4a72b774ec34d82d61f18f96bd5bb7f67f88503
[debug] Command-line config: ['-v', '--force-overwrites', '--impersonate', 'chrome:110', '--fragment-retries', 'infinite', '--no-mtime', '--proxy', 'http://127.0.0.1:1080', 'https://www.crunchyroll.com/sengoku-youko/episode-10-the-mountain-goddess-part-2-918756', '-u', 'PRIVATE', '-p', 'PRIVATE', '--cookies', '/root/cookie-cr.txt', '-N', '16', '--embed-subs', '--sub-langs', 'all', '-o', '/www/wwwroot/bangumi/[GJ.Y] Sengoku Youko - 10 (CR .mkv']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version stable@2024.03.10 from yt-dlp/yt-dlp [615a84447]
[debug] Python 3.9.12 (PyPy version 7.3.9 aarch64 64bit) - Linux-6.1.0-17-arm64-aarch64-with-glibc2.36 (OpenSSL 1.1.1n 15 Mar 2022, glibc 2.36)
[debug] exe versions: ffmpeg N-113348-g0a5813fc68-20240119 (setts), ffprobe N-113348-g0a5813fc68-20240119
[debug] Optional libraries: Cryptodome-3.17, brotlicffi-1.0.9.2, certifi-2022.12.07, curl_cffi-0.6.3b1, mutagen-1.46.0, requests-2.28.1, sqlite3-3.38.2, urllib3-1.26.12, websockets-10.4
[debug] Proxy map: {'all': 'http://127.0.0.1:1080'}
[debug] Request Handlers: urllib, curl_cffi
[debug] Loaded 1767 extractors
[generic] Extracting URL: https://www.crunchyroll.com/sengoku-youko/episode-10-the-mountain-goddess-part-2-918756
[generic] episode-10-the-mountain-goddess-part-2-918756: Downloading webpage
[redirect] Following redirect to https://www.crunchyroll.com/watch/GPWUKV2M4/the-mountain-goddess-part-2
[crunchyroll] Getting session id
[crunchyroll] Logging in
[crunchyroll] Extracting URL: https://www.crunchyroll.com/watch/GPWUKV2M4/the-mountain-goddess-part-2
[debug] [crunchyroll] Using cxApiParam=noaihdevm_6iyg0a8l0q
[crunchyroll] Authenticating with grant_type=etp_rt_cookie
[crunchyroll] GPWUKV2M4: Downloading object info JSON (cms)
[crunchyroll] Retrieving signed policy
[crunchyroll] GPWUKV2M4: Downloading stream info JSON (signed cms)
[crunchyroll] GPWUKV2M4: Downloading chapter info
[info] GPWUKV2M4: Downloading subtitles: ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, it-IT, pt-BR, ru-RU
ERROR: [crunchyroll] GPWUKV2M4: No video formats found!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
Traceback (most recent call last):
File "/root/dump_tools/yt-dlp-cr/yt_dlp/YoutubeDL.py", line 1606, in wrapper
return func(self, *args, **kwargs)
File "/root/dump_tools/yt-dlp-cr/yt_dlp/YoutubeDL.py", line 1762, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/root/dump_tools/yt-dlp-cr/yt_dlp/YoutubeDL.py", line 1821, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
File "/root/dump_tools/yt-dlp-cr/yt_dlp/YoutubeDL.py", line 2809, in process_video_result
self.raise_no_formats(info_dict)
File "/root/dump_tools/yt-dlp-cr/yt_dlp/YoutubeDL.py", line 1104, in raise_no_formats
raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [crunchyroll] GPWUKV2M4: No video formats found!; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
I'm having the same issue as @BraveSail , I can now get past the cloudfare error using cookies, user agent and the extractor args but get "no video formats found" on both series and episode pages.
The sequel: #9453
They are indeed changing de API. That KODI plugin that survived a lot of API changes now cannot login.
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
US
Provide a description that is worded well enough to be understood
I've updated everything: yt-dlp, Chrome, and the user-agent. I tried on both Mac and Windows, even tried with a different IP (VPN), but I still get HTTP error 403 Forbidden.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output