yt-dlp: [Olympics.com] Paris 2024 Unsupported URL / HTTP Error 403 Forbidden token format

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

Russia

Provide a description that is worded well enough to be understood

Hi. The i try download Paris-2024 Olympics games got error.

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

"C:\yt-dlp\yt-dlp.exe" "https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024"
[generic] Extracting URL: https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024
[generic] court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024: Extracting information
ERROR: Unsupported URL: https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024

C:\Users\mcmas>"C:\yt-dlp\yt-dlp.exe" -vU "https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024"
[debug] Command-line config: ['-vU', 'https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024']
[debug] Encodings: locale cp1251, fs utf-8, pref cp1251, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.07.24.232745 from yt-dlp/yt-dlp-nightly-builds [f0993391e] (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: none
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1829 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.07.25.232820/SHA2-256SUMS
Current version: nightly@2024.07.24.232745 from yt-dlp/yt-dlp-nightly-builds
Latest version: nightly@2024.07.25.232820 from yt-dlp/yt-dlp-nightly-builds
Current Build Hash: dbe2e33a8f233aabc8cc9d6de29dffeba8bdf8b5d75ed45d4f62ce43bb96a859
Updating to nightly@2024.07.25.232820 from yt-dlp/yt-dlp-nightly-builds ...
[debug] Downloading yt-dlp.exe from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.07.25.232820/yt-dlp.exe
Updated yt-dlp to nightly@2024.07.25.232820 from yt-dlp/yt-dlp-nightly-builds
[debug] Restarting: C:\yt-dlp\yt-dlp.exe -vU https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024
[debug] Command-line config: ['-vU', 'https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024']
[debug] Encodings: locale cp1251, fs utf-8, pref cp1251, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.07.25.232820 from yt-dlp/yt-dlp-nightly-builds [28d485714] (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: none
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1828 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.07.25.232820 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.07.25.232820 from yt-dlp/yt-dlp-nightly-builds)
[generic] Extracting URL: https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024
[generic] court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1626, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1761, in __extract_info
  File "yt_dlp\extractor\common.py", line 740, in extract
  File "yt_dlp\extractor\generic.py", line 2526, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://olympics.com/en/paris-2024/videos/court-7-singles-doubles-first-round-day-1-tennis-olympic-games-paris-2024

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@bashonly Hi. Not dowloading again 403 error.

C:\Users\mcmas>curl "https://metering.olympics.com/tokengenerator?url=https%3A%2F%2Fott-l2v.olympicchannel.com%2FOVP_PRD%2FPAROVP-464_ch01_32643%2Fhls%2Findex.m3u8&service-id=vod&user-auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmxwYXRoIjoiL2VuL3BhcmlzLTIwMjQvdmlkZW9zL3dvbWVuLXMtcHJlbGltaW5hcnktcm91bmQtbmVkLWF1cy1jYW4tY2huLXdhdGVyLXBvbG8tb2x5bXBpYy1nYW1lcy1wYXJpcy0yMDI0IiwiZ2VuZXJhdGlvbiI6IjE3MjUzNTU5NjYifQ.rtZsG7YJakKvFo6WS155L2psZ-CvLpnbtWwxXAxL-es"

      {
        "data": {
          "url": "https://ott-l2v.olympicchannel.com/OVP_PRD/PAROVP-464_ch01_32643/hls/index.m3u8?hdnts=exp=1725356876~acl=/*~hmac=e89a0c96b63c0b6b3972f2214e5a71afc2d46322d096a4181ab45b8534628628",
          "playid": "AMS;ams2100116;1725356576254;2024-09-03T09:42:56.254Z;2518456208"
        }
      }

C:\Users\mcmas>
C:\Users\mcmas>python -myt_dlp -v https://olympics.com/en/paris-2024/videos/women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024
[debug] Command-line config: ['-v', 'https://olympics.com/en/paris-2024/videos/women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024']
[debug] Encodings: locale cp1251, fs utf-8, pref cp1251, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.09.02.232855 from yt-dlp/yt-dlp-nightly-builds [e8e6a982a] (pip)
[debug] Python 3.12.1 (CPython AMD64 64bit) - Windows-11-10.0.22631-SP0 (OpenSSL 3.0.11 19 Sep 2023)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, mutagen-1.47.0, requests-2.32.3, sqlite3-3.43.1, urllib3-2.2.2, websockets-13.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1832 extractors
[OlympicsReplay] Extracting URL: https://olympics.com/en/paris-2024/videos/women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024
[OlympicsReplay] women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024: Downloading webpage
[OlympicsReplay] women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024: Downloading tokenized m3u8 url
[OlympicsReplay] women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024: Downloading m3u8 information
ERROR: [OlympicsReplay] women-s-preliminary-round-ned-aus-can-chn-water-polo-olympic-games-paris-2024: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\common.py", line 740, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\olympics.py", line 116, in _real_extract
    if info := self._extract_from_nextjs_data(webpage, video_id):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\olympics.py", line 79, in _extract_from_nextjs_data
    formats, subtitles = self._extract_m3u8_formats_and_subtitles(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\common.py", line 2041, in _extract_m3u8_formats_and_subtitles
    res = self._download_webpage_handle(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\common.py", line 960, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\common.py", line 909, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\extractor\common.py", line 896, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\YoutubeDL.py", line 4165, in urlopen
    return self._request_director.send(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\networking\common.py", line 117, in send
    response = handler.send(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\networking\_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\networking\common.py", line 340, in send
    return self._send(request)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmas\AppData\Local\Programs\Python\Python312\Lib\site-packages\yt_dlp\networking\_requests.py", line 365, in _send
    raise HTTPError(res, redirect_loop=max_redirects_exceeded)
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden


C:\Users\mcmas>