Repository: yt-dlp
Issue: [Olympics.com] "HTTP Error 403: Forbidden time token" for recently ended event replays
Labels: geo-blocked,site-bug,triage

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Russia

### Provide a description that is worded well enough to be understood

I was asked to create new issue.
I can't download some replays from Olympics.com
For example https://olympics.com/en/paris-2024/videos/table-2-team-quarter-finals-day-11-afternoon-table-tennis-olympic-games-paris-2024
But some replays can be downloaded, for example https://olympics.com/en/paris-2024/videos/mat-c-men-s-greco-roman-women-s-freestyle-day-10-afternoon-wrestling-olympic-games-paris-2024
My guess that new one replays can't be downloaded, need to wait one day - because I wasn't able to download https://olympics.com/en/paris-2024/videos/men-s-pole-vault-final-athletics-olympic-games-paris-2024 till this evening, and now I can.
P.S. And I'm able to download new replays if they are short (~10 mins)

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vU', 'https://olympics.com/en/paris-2024/videos/table-2-team-quarter-finals-day-11-afternoon-table-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.08.05.232823 from yt-dlp/yt-dlp-nightly-builds [406f4c2e4] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-116529-geb3cc508d8-20240805 (setts), ffprobe N-116529-geb3cc508d8-20240805
[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 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.08.05.232823 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.08.05.232823 from yt-dlp/yt-dlp-nightly-builds)
[OlympicsReplay] Extracting URL: https://olympics.com/en/paris-2024/videos/table-2-team-quarter-finals-day-11-afternoon-table-tennis-olympic-games-paris-2024
[OlympicsReplay] table-2-team-quarter-finals-day-11-afternoon-table-tennis-olympic-games-paris-2024: Downloading webpage
[OlympicsReplay] table-2-team-quarter-finals-day-11-afternoon-table-tennis-olympic-games-paris-2024: Downloading tokenized m3u8 url
[OlympicsReplay] table-2-team-quarter-finals-day-11-afternoon-table-tennis-olympic-games-paris-2024: Downloading m3u8 information
ERROR: [OlympicsReplay] table-2-team-quarter-finals-day-11-afternoon-table-tennis-olympic-games-paris-2024: Failed to download m3u8 information: HTTP Error 403: Forbidden time token (caused by <HTTPError 403: Forbidden time token>)
  File "yt_dlp\extractor\common.py", line 740, in extract
  File "yt_dlp\extractor\olympics.py", line 116, in _real_extract
  File "yt_dlp\extractor\olympics.py", line 79, in _extract_from_nextjs_data
  File "yt_dlp\extractor\common.py", line 2041, in _extract_m3u8_formats_and_subtitles
  File "yt_dlp\extractor\common.py", line 960, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 909, in _request_webpage

  File "yt_dlp\extractor\common.py", line 896, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4165, in urlopen
  File "yt_dlp\networking\common.py", line 117, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 340, in send
  File "yt_dlp\networking\_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden time token
```
Successful log for https://olympics.com/en/paris-2024/videos/men-s-pole-vault-final-athletics-olympic-games-paris-2024 
```
[debug] Command-line config: ['-vU', 'https://olympics.com/en/paris-2024/videos/men-s-pole-vault-final-athletics-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.08.05.232823 from yt-dlp/yt-dlp-nightly-builds [406f4c2e4] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-116529-geb3cc508d8-20240805 (setts), ffprobe N-116529-geb3cc508d8-20240805
[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 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.08.05.232823 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.08.05.232823 from yt-dlp/yt-dlp-nightly-builds)
[OlympicsReplay] Extracting URL: https://olympics.com/en/paris-2024/videos/men-s-pole-vault-final-athletics-olympic-games-paris-2024
[OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Downloading webpage
[OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Downloading tokenized m3u8 url
[OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 9032d607-3300-4da0-b5a5-a8f545d738ac: Downloading 1 format(s): hls-5645+hls-audio-AACL-180-Original_audio
[debug] Invoking hlsnative downloader on "https://par-ocsi-vod-f.ovpobs.tv/vod/par100254200/hls/hdntl=1722958057~/vod/par100254200/hls/*~080-07870f99bc~309d50f1f10636c02a1d356e14d4c2d4557e97e59e571d8c0f2935222849928d/par100254200-avc1_5154400=10005.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 3539
[download] Destination: Men's Pole Vault Final ｜ Athletics ｜ Olympic Games Paris 2024 [9032d607-3300-4da0-b5a5-a8f545d738ac].fhls-5645.mp4
[debug] File locking is not supported. Proceeding without locking
[download]   0.4% of ~   8.10GiB at    7.38MiB/s ETA 20:28 (frag 15/3539)
```
The same replay 7 hours ago:
```
[debug] Command-line config: ['-vU', 'https://olympics.com/en/paris-2024/videos/men-s-pole-vault-final-athletics-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.08.05.232823 from yt-dlp/yt-dlp-nightly-builds [406f4c2e4] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-116529-geb3cc508d8-20240805 (setts), ffprobe N-116529-geb3cc508d8-20240805
[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 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.08.05.232823 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.08.05.232823 from yt-dlp/yt-dlp-nightly-builds)
[OlympicsReplay] Extracting URL: https://olympics.com/en/paris-2024/videos/men-s-pole-vault-final-athletics-olympic-games-paris-2024
[OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Downloading webpage
[OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Downloading tokenized m3u8 url
[OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Downloading m3u8 information
ERROR: [OlympicsReplay] men-s-pole-vault-final-athletics-olympic-games-paris-2024: Failed to download m3u8 information: HTTP Error 403: Forbidden time token (caused by <HTTPError 403: Forbidden time token>)
  File "yt_dlp\extractor\common.py", line 740, in extract
  File "yt_dlp\extractor\olympics.py", line 116, in _real_extract
  File "yt_dlp\extractor\olympics.py", line 79, in _extract_from_nextjs_data
  File "yt_dlp\extractor\common.py", line 2041, in _extract_m3u8_formats_and_subtitles
  File "yt_dlp\extractor\common.py", line 960, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 909, in _request_webpage

  File "yt_dlp\extractor\common.py", line 896, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4165, in urlopen
  File "yt_dlp\networking\common.py", line 117, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 340, in send
  File "yt_dlp\networking\_requests.py", line 365, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden time token
```