yt-dlp: [NRK] Failed to download m3u8 information: HTTP Error 403: Forbidden
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- I understand that I will be blocked if I intentionally remove or skip any mandatory* field
Checklist
- I’m reporting that yt-dlp is broken on a supported site
- I’ve verified that I have updated yt-dlp to nightly or master (update instructions)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
Germany
Provide a description that is worded well enough to be understood
YT-dlp does not work any longer on NRK.no for geoblocked films even when using VPN with norwegian IP. I was demanded to report this issue here by the debug info below.
Without VPN it says: “ERROR: [NRK] MDRE30005122: NRK said: Ikke tilgjengelig utenfor Norge”
I ve been trying both “–geo-bypass” “–no-geo-bypass” and “–geo-bypass-country NO” Nothing works. Same error “[NRK] Failed to download m3u8 information: HTTP Error 403: Forbidden” again and again. Of course I have made sure I can see the films through the VPN in the browser.
Provide verbose output that clearly demonstrates the problem
- Run your yt-dlp command with -vU flag added (
yt-dlp -vU <your command line>) - If using API, add
'verbose': TruetoYoutubeDLparams instead - Copy the WHOLE output (starting with
[debug] Command-line config) and insert it below
Complete Verbose Output
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.2.3, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version: master@2024.12.13.102848 from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date (master@2024.12.13.102848 from yt-dlp/yt-dlp-master-builds)
[NRKTV] Extracting URL: https://tv.nrk.no/serie/lykkeland/sesong/3/episode/MDRE30005122
[debug] Using fake IP 84.211.48.107 (NO) as X-Forwarded-For
[NRK] Extracting URL: nrk:MDRE30005122
[NRK] MDRE30005122: Downloading manifest JSON
[NRK] MDRE30005122: Downloading m3u8 information
WARNING: [NRK] Failed to download m3u8 information: HTTP Error 403: Forbidden
[NRK] MDRE30005122: Downloading metadata JSON
[NRK] MDRE30005122: Downloading programs JSON
ERROR: [NRK] MDRE30005122: 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 1624, in wrapper
File "yt_dlp\YoutubeDL.py", line 1780, in __extract_info
File "yt_dlp\YoutubeDL.py", line 1839, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 2846, in process_video_result
File "yt_dlp\YoutubeDL.py", line 1121, in raise_no_formats
yt_dlp.utils.ExtractorError: [NRK] MDRE30005122: 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
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 19 (10 by maintainers)
I checked and changed akamai to telenor, and it’s working for me.
Yes, I disabled DRM in firefox, restarted firefox and I still could see the geoblocked video ( https://tv.nrk.no/serie/lykkeland/sesong/3/episode/MDRE30005122 ) with my VPN… So it seems to me that this is not a DRM issue …
Does the URL that is not working play in your browser with DRM disabled?
I’m afraid I’m geo-blocked (and unlike your logs, for me the extractor raises an expected error after the first request), so I can’t help beyond this point. A developer who is in-region, or with a similar VPN situation, or with more knowledge of the site will need to take it from here
Please try again and remove all of the
--add-headerand geo-bypass-related options from your commandcan you post the complete verbose output? you cut off the beginning of it
--geo-bypassis generally not effective for most sites – all it does is adds anX-Forwarded-Forheader to the requests, which most sites do not acknowledge.Is yt-dlp using the same IP address as your browser w/VPN?