Repository: yt-dlp/yt-dlp (Python)
Date: 2022-09-03 20:29:36+00:00
Task type: Bug Fix

Issue:
DiscoveryPlusItaly error 403: Forbidden
### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2022.06.22.1** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [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/ytdl-org/youtube-dl#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 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

Italy

### Description

Hi, for first thanks for your work.

With DiscoveryPlusItaly there is some problem.
With the same link https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione i obtain url with domain dplus-it-cloudfront.prod-vod.h264.io (an the error 403 forbidden) another time with another file i obtain url domain  dplus-it-prod-vod.akamaized.net (with download ok).
Yesterday night i get same error with similar url and google cloud domain...

Anyone can help me?
Thanks

### Verbose log

```shell
F:\>yt-dlp.exe -Uv --no-geo-bypass --cookies-from-browser firefox https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione
[debug] Command-line config: ['-Uv', '--no-geo-bypass', '--cookies-from-browser', 'firefox', 'https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.22.1 [a86e01e] (win32_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22621-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\Lepitrust\AppData\Roaming\Mozilla\Firefox\Profiles\bwd4mkhg.default-release\cookies.sqlite"
[Cookies] Extracted 44 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.06.22.1, Current version: 2022.06.22.1
yt-dlp is up to date (2022.06.22.1)
[debug] [DiscoveryPlusItaly] Extracting URL: https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-collisione: Downloading JSON metadata
[DiscoveryPlusItaly] 564088: Downloading JSON metadata
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-collisione: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 564088: Downloading 1 format(s): dash-video=6369520+dash-audio_eng=160000
[debug] Invoking dashsegments downloader on "https://dplus-it-cloudfront.prod-vod.h264.io/90902a8f-ca80-4385-9c88-e8d81407253e/dbcb9fcb-ba71-4f73-b959-976b88227cb6/dash_clear_fmp4/x-discovery-token=Expires=1656240923&KeyName=primary&Signature=iida0AdPfjG2eZmWfIjPZ0SqU3U/master.mpd"
[dashsegments] Total fragments: 1324
[download] Destination: Collisione [564088].fdash-video=6369520.mp4
[debug] File locking is not supported. Proceeding without locking
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 522, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 478, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 523, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 487, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble


[debug] Invoking dashsegments downloader on "https://dplus-it-cloudfront.prod-vod.h264.io/90902a8f-ca80-4385-9c88-e8d81407253e/dbcb9fcb-ba71-4f73-b959-976b88227cb6/dash_clear_fmp4/x-discovery-token=Expires=1656240923&KeyName=primary&Signature=iida0AdPfjG2eZmWfIjPZ0SqU3U/master.mpd"
[dashsegments] Total fragments: 1324
[download] Destination: Collisione [564088].fdash-audio_eng=160000.m4a
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 522, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 478, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 523, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 487, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble
```

TRY without --no-geo-bypass: getting same error with google cloud url
```shell
F:\>yt-dlp.exe -Uv --cookies-from-browser firefox https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione
[debug] Command-line config: ['-Uv', '--cookies-from-browser', 'firefox', 'https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.22.1 [a86e01e] (win32_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22621-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\Lepitrust\AppData\Roaming\Mozilla\Firefox\Profiles\bwd4mkhg.default-release\cookies.sqlite"
[Cookies] Extracted 45 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.06.22.1, Current version: 2022.06.22.1
yt-dlp is up to date (2022.06.22.1)
[debug] [DiscoveryPlusItaly] Extracting URL: https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione
[debug] Using fake IP 79.48.22.233 (IT) as X-Forwarded-For
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-collisione: Downloading JSON metadata
[DiscoveryPlusItaly] 564088: Downloading JSON metadata
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-collisione: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 564088: Downloading 1 format(s): dash-video=6369520+dash-audio_eng=160000
[debug] Invoking dashsegments downloader on "https://dplus-it-google-v2.prod-vod.h264.io/90902a8f-ca80-4385-9c88-e8d81407253e/dbcb9fcb-ba71-4f73-b959-976b88227cb6/dash_clear_fmp4/x-goog-token=Expires=1656241208&KeyName=prod-sign-url-key-eu&Signature=h6ET8IWbm5cz_jq0YZLRbtegYLo/master.mpd"
[dashsegments] Total fragments: 1324
[download] Destination: Collisione [564088].fdash-video=6369520.mp4
[debug] File locking is not supported. Proceeding without locking
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 522, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 478, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 523, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 487, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble


[debug] Invoking dashsegments downloader on "https://dplus-it-google-v2.prod-vod.h264.io/90902a8f-ca80-4385-9c88-e8d81407253e/dbcb9fcb-ba71-4f73-b959-976b88227cb6/dash_clear_fmp4/x-goog-token=Expires=1656241208&KeyName=prod-sign-url-key-eu&Signature=h6ET8IWbm5cz_jq0YZLRbtegYLo/master.mpd"
[dashsegments] Total fragments: 1324
[download] Destination: Collisione [564088].fdash-audio_eng=160000.m4a
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 522, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 478, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 16, in <module>
  File "yt_dlp\__init__.py", line 919, in main
  File "yt_dlp\__init__.py", line 911, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3247, in download
  File "yt_dlp\YoutubeDL.py", line 3223, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1418, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1427, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1511, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1568, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2628, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3109, in process_info
  File "yt_dlp\YoutubeDL.py", line 2827, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 370, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 523, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 487, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 969, in report_error
  File "yt_dlp\YoutubeDL.py", line 901, in trouble
```

AKAMAIZED is OK!
```shell
F:\>yt-dlp.exe -Uv --no-geo-bypass --cookies-from-browser firefox https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione
[debug] Command-line config: ['-Uv', '--no-geo-bypass', '--cookies-from-browser', 'firefox', 'https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.22.1 [a86e01e] (win32_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22621-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\Lepitrust\AppData\Roaming\Mozilla\Firefox\Profiles\bwd4mkhg.default-release\cookies.sqlite"
[Cookies] Extracted 45 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.06.22.1, Current version: 2022.06.22.1
yt-dlp is up to date (2022.06.22.1)
[debug] [DiscoveryPlusItaly] Extracting URL: https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-collisione
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-collisione: Downloading JSON metadata
[DiscoveryPlusItaly] 564088: Downloading JSON metadata
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-collisione: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 564088: Downloading 1 format(s): dash-video=6369520+dash-audio_eng=160000
[debug] Invoking dashsegments downloader on "https://dplus-it-prod-vod.akamaized.net/90902a8f-ca80-4385-9c88-e8d81407253e/dbcb9fcb-ba71-4f73-b959-976b88227cb6/dash_clear_fmp4/hdntl=exp=1656241315~acl=/90902a8f-ca80-4385-9c88-e8d81407253e/dbcb9fcb-ba71-4f73-b959-976b88227cb6/dash_clear_fmp4/*~data=hdntl~hmac=ab864b1d7baf327ba03d13c89c296efd0c7c20c963a4c6a7e4c9ef09d5043739/master.mpd"
[dashsegments] Total fragments: 1324
[download] Destination: Collisione [564088].fdash-video=6369520.mp4
[debug] File locking is not supported. Proceeding without locking
[download]   2.2% of ~1.87GiB at    3.13MiB/s ETA 08:22 (frag 29/1324)
.......
```


Issue discussion:
I think this related to #3757
Can u try passing the url as referer?
I have already tried to insert in the referer the url of the main page of the series, but nothing has changed.

```shell
[debug] Command-line config: ['-Uv', '--no-geo-bypass', '--referer', 'https://www.discoveryplus.com/it/show/killer-of-the-cosmos', '--cookies-from-browser', 'firefox', 'https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.29 [9d339c4] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.22621-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\Lepitrust\AppData\Roaming\Mozilla\Firefox\Profiles\bwd4mkhg.default-release\cookies.sqlite"
[Cookies] Extracted 59 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/download/2022.06.29/_update_spec
Latest version: 2022.06.29, Current version: 2022.06.29
yt-dlp is up to date (2022.06.29)
[debug] [DiscoveryPlusItaly] Extracting URL: https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-episodio-1: Downloading JSON metadata
[DiscoveryPlusItaly] 563887: Downloading JSON metadata
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-episodio-1: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 563887: Downloading 1 format(s): dash-video=6369760+dash-audio_eng=160000
[debug] Invoking dashsegments downloader on "https://dplus-it-google-v2.prod-vod.h264.io/1db40d1a-25d8-4029-ac8a-ab1a7648464e/0025c82f-0fff-47ca-a2c2-648310ed2fd5/dash_clear_fmp4/x-goog-token=Expires=1656879261&KeyName=prod-sign-url-key-eu&Signature=-jitLiWNvQH6d_LGpUIQBNdy0b8/master.mpd"
[dashsegments] Total fragments: 1327
[download] Destination: Episodio 1 [563887].fdash-video=6369760.mp4
[debug] File locking is not supported. Proceeding without locking
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 524, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 480, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 525, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 489, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble


[debug] Invoking dashsegments downloader on "https://dplus-it-google-v2.prod-vod.h264.io/1db40d1a-25d8-4029-ac8a-ab1a7648464e/0025c82f-0fff-47ca-a2c2-648310ed2fd5/dash_clear_fmp4/x-goog-token=Expires=1656879261&KeyName=prod-sign-url-key-eu&Signature=-jitLiWNvQH6d_LGpUIQBNdy0b8/master.mpd"
[dashsegments] Total fragments: 1327
[download] Destination: Episodio 1 [563887].fdash-audio_eng=160000.m4a
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 524, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 480, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 525, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 489, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble
```


```shell
yt-dlp.exe -Uv --no-geo-bypass --referer https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1 --cookies-from-browser firefox https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1
[debug] Command-line config: ['-Uv', '--no-geo-bypass', '--referer', 'https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1', '--cookies-from-browser', 'firefox', 'https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.29 [9d339c4] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.22621-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\Lepitrust\AppData\Roaming\Mozilla\Firefox\Profiles\bwd4mkhg.default-release\cookies.sqlite"
[Cookies] Extracted 60 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/download/2022.06.29/_update_spec
Latest version: 2022.06.29, Current version: 2022.06.29
yt-dlp is up to date (2022.06.29)
[debug] [DiscoveryPlusItaly] Extracting URL: https://www.discoveryplus.com/it/video/killer-of-the-cosmos/stagione-1-episodio-1
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-episodio-1: Downloading JSON metadata
[DiscoveryPlusItaly] 563887: Downloading JSON metadata
[DiscoveryPlusItaly] killer-of-the-cosmos/stagione-1-episodio-1: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 563887: Downloading 1 format(s): dash-video=6369760+dash-audio_eng=160000
[debug] Invoking dashsegments downloader on "https://dplus-it-google-v2.prod-vod.h264.io/1db40d1a-25d8-4029-ac8a-ab1a7648464e/0025c82f-0fff-47ca-a2c2-648310ed2fd5/dash_clear_fmp4/x-goog-token=Expires=1656879357&KeyName=prod-sign-url-key-eu&Signature=35D0pGQF0BmVH0v7caU6GrlAvzI/master.mpd"
[dashsegments] Total fragments: 1327
[download] Destination: Episodio 1 [563887].fdash-video=6369760.mp4
[debug] File locking is not supported. Proceeding without locking
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 524, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 480, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 525, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 489, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble


[debug] Invoking dashsegments downloader on "https://dplus-it-google-v2.prod-vod.h264.io/1db40d1a-25d8-4029-ac8a-ab1a7648464e/0025c82f-0fff-47ca-a2c2-648310ed2fd5/dash_clear_fmp4/x-goog-token=Expires=1656879357&KeyName=prod-sign-url-key-eu&Signature=35D0pGQF0BmVH0v7caU6GrlAvzI/master.mpd"
[dashsegments] Total fragments: 1327
[download] Destination: Episodio 1 [563887].fdash-audio_eng=160000.m4a
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 1 (attempt 10 of 10) ...
ERROR: Giving up after 10 fragment retries
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 524, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 480, in download_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble

ERROR: fragment 1 not found, unable to continue
  File "yt_dlp\__main__.py", line 17, in <module>
  File "yt_dlp\__init__.py", line 921, in main
  File "yt_dlp\__init__.py", line 913, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3249, in download
  File "yt_dlp\YoutubeDL.py", line 3225, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1411, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1504, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1561, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2630, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 3111, in process_info
  File "yt_dlp\YoutubeDL.py", line 2829, in dl
  File "yt_dlp\downloader\common.py", line 444, in download
  File "yt_dlp\downloader\dash.py", line 54, in real_download
  File "yt_dlp\downloader\fragment.py", line 372, in download_and_append_fragments_multiple
  File "yt_dlp\downloader\fragment.py", line 525, in download_and_append_fragments
  File "yt_dlp\downloader\fragment.py", line 489, in append_fragment
  File "yt_dlp\YoutubeDL.py", line 962, in report_error
  File "yt_dlp\YoutubeDL.py", line 894, in trouble
```

Solution patch:
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -2479,7 +2479,7 @@ def url_basename(url):
 
 
 def base_url(url):
-    return re.match(r'https?://[^?#&]+/', url).group()
+    return re.match(r'https?://[^?#]+/', url).group()
 
 
 def urljoin(base, path):


Test patch:
diff --git a/test/test_utils.py b/test/test_utils.py
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -566,6 +566,7 @@ def test_base_url(self):
         self.assertEqual(base_url('http://foo.de/bar/'), 'http://foo.de/bar/')
         self.assertEqual(base_url('http://foo.de/bar/baz'), 'http://foo.de/bar/')
         self.assertEqual(base_url('http://foo.de/bar/baz?x=z/x/c'), 'http://foo.de/bar/')
+        self.assertEqual(base_url('http://foo.de/bar/baz&x=z&w=y/x/c'), 'http://foo.de/bar/baz&x=z&w=y/x/')
 
     def test_urljoin(self):
         self.assertEqual(urljoin('http://foo.de/', '/a/b/c.txt'), 'http://foo.de/a/b/c.txt')