Repository: yt-dlp
Issue: [VidioLive] 783: Failed to download m3u8 information: HTTP Error 403: Forbidden
Labels: 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)
- [ ] 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

Indonesia

### Provide a description that is worded well enough to be understood

I wanted to try downloading  livestreams on Vidio.com site and it shows error
```
ERROR: [VidioLive] 734: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
```

The livestream URLs that I've tried are:
https://www.vidio.com/live/783-tvone
https://www.vidio.com/live/734-trans7

It works for video or stream archives. For example https://www.vidio.com/watch/8419426-kabar-siang-26-oktober-2024
```
[debug] Command-line config: ['-vU', '--cookies=vidio.txt', 'https://www.vidio.com/watch/8419426-kabar-siang-26-oktober-2024']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.10.28.232846 from yt-dlp/yt-dlp-nightly-builds [f101e5d34] (pip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.7.1, mutagen-1.47.0, requests-2.32.3, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-2.0.6, websockets-13.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-nightly-builds/releases/latest
Latest version: nightly@2024.10.28.232846 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.10.28.232846 from yt-dlp/yt-dlp-nightly-builds)
[Vidio] Downloading JSON metadata
[Vidio] Extracting URL: https://www.vidio.com/watch/8419426-kabar-siang-26-oktober-2024
[Vidio] kabar-siang-26-oktober-2024: Downloading webpage
[Vidio] kabar-siang-26-oktober-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] 8419426: Downloading 1 format(s): 720p
[debug] Invoking hlsnative downloader on "https://token-media-001-vidio-com.vidiocdn.net/uploads/8419426/720p/edge-cache-token=Expires=1730184844&KeyName=tokenized-media-vidio-com-keyset&Signature=AtHtMf3XAgULYfSTaBf59X-BOW8Kk5zy7lWBTgeEQ3khI9CZWocTyIJ21cVIqi2gfQuzuohSgDvMoqOWdptpBg==/index.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 900
[download] Destination: Kabar Siang - 26 Oktober 2024 [8419426].mp4
[download] 100% of  583.90MiB in 00:02:45 at 3.53MiB/s
[debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json 'file:Kabar Siang - 26 Oktober 2024 [8419426].mp4'
[debug] ffmpeg command line: ffprobe -show_streams 'file:Kabar Siang - 26 Oktober 2024 [8419426].mp4'
[FixupM3u8] Fixing MPEG-TS in MP4 container of "Kabar Siang - 26 Oktober 2024 [8419426].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Kabar Siang - 26 Oktober 2024 [8419426].mp4' -map 0 -dn -ignore_unknown -c copy -f mp4 -bsf:a aac_adtstoasc -movflags +faststart 'file:Kabar Siang - 26 Oktober 2024 [8419426].temp.mp4'
```

Here I attach the cookies that I used, but without using cookies it also produces the same error
[vidio.txt](https://github.com/user-attachments/files/17551239/vidio.txt)

I installed yt-dlp using pip and here is my pip show yt-dlp output to show my version
```
python3 -m pip show yt-dlp
Name: yt-dlp
Version: 2024.10.28.232846.dev0
Summary: A feature-rich command-line audio/video downloader
Home-page:
Author:
Author-email:
```

I'm sorry if my English and explanation aren't clear enough. Thank you

### Provide verbose output that clearly demonstrates the problem

- [X] 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
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vU', '--cookies=vidio.txt', 'https://www.vidio.com/live/783-tvone']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.10.28.232846 from yt-dlp/yt-dlp-nightly-builds [f101e5d34] (pip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.7.1, mutagen-1.47.0, requests-2.32.3, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-2.0.6, websockets-13.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-nightly-builds/releases/latest
Latest version: nightly@2024.10.28.232846 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.10.28.232846 from yt-dlp/yt-dlp-nightly-builds)
[VidioLive] Downloading JSON metadata
[VidioLive] Extracting URL: https://www.vidio.com/live/783-tvone
[VidioLive] tvone: Downloading webpage
[VidioLive] tvone: Downloading HLS token JSON
[VidioLive] tvone: Downloading m3u8 information
ERROR: [VidioLive] 783: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 742, in extract
    ie_result = self._real_extract(url)
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/vidio.py", line 286, in _real_extract
    formats.extend(self._extract_m3u8_formats(
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 2032, in _extract_m3u8_formats
    fmts, subs = self._extract_m3u8_formats_and_subtitles(*args, **kwargs)
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 2054, in _extract_m3u8_formats_and_subtitles
    res = self._download_webpage_handle(
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 962, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 911, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 898, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 4162, in urlopen
    return self._request_director.send(req)
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/networking/common.py", line 117, in send
    response = handler.send(request)
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/networking/_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
  File "/home/farrel/.local/lib/python3.10/site-packages/yt_dlp/networking/common.py", line 340, in send
    return self._send(request)
  File "/home/farrel/.local/lib/python3.10/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
```