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

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': True to YoutubeDL params 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)

Most upvoted comments

I checked and changed akamai to telenor, and it’s working for me.

    manifest = call_playback_api('manifest', {'preferredCdn': 'telenor'})

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-header and geo-bypass-related options from your command

can you post the complete verbose output? you cut off the beginning of it

--geo-bypass is generally not effective for most sites – all it does is adds an X-Forwarded-For header to the requests, which most sites do not acknowledge.

Is yt-dlp using the same IP address as your browser w/VPN?