Skip to content

[MiTele] Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>) #11106

Closed
@WW550

Description

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

  • I'm reporting that yt-dlp is broken on a supported site
    I've verified that I have updated yt-dlp to nightly or master (update instructions)
    I've checked that all provided URLs are playable in a browser with the same IP and same login details
    I've checked that all URLs and arguments with special characters are properly quoted or escaped
    I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
    I've read about sharing account credentials and I'm willing to share it if required

Region

US

Provide a description that is worded well enough to be understood

Site is geo-restricted however, using Spain IP worked well before. Issue is not fixed with the [telecinco] fix. Error message is Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)

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

yt-dlp -vU https://www.mitele.es/programas-tv/de-viernes/temporada-1/programa-44-40_013481363/player/
[debug] Command-line config: ['-vU', 'https://www.mitele.es/programas-tv/de-viernes/temporada-1/programa-44-40_013481363/player/']
[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.09.26.232938 from yt-dlp/yt-dlp-nightly-builds [eabb4680f] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.8.0-45-generic-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.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5, websockets-9.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds)
[MiTele] Extracting URL: https://www.mitele.es/programas-tv/de-viernes/temporada-1/programa-44-40_013481363/player/
[MiTele] programa-44-40_013481363: Downloading webpage
[MiTele] 788908f4-0e96-47e2-baa7-e701beecbeb3: Downloading config JSON
[MiTele] 788908f4-0e96-47e2-baa7-e701beecbeb3: Downloading JSON metadata
[MiTele] 788908f4-0e96-47e2-baa7-e701beecbeb3: Downloading JSON metadata
[MiTele] 788908f4-0e96-47e2-baa7-e701beecbeb3: Downloading JSON metadata
[MiTele] 788908f4-0e96-47e2-baa7-e701beecbeb3: Downloading m3u8 information
ERROR: [MiTele] programa-44-40_013481363: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 741, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/mitele.py", line 67, in _real_extract
    video_info = self._parse_content(pre_player['video'], url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/telecinco.py", line 102, in _parse_content
    formats = self._extract_m3u8_formats(
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 2031, in _extract_m3u8_formats
    fmts, subs = self._extract_m3u8_formats_and_subtitles(*args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 2053, in _extract_m3u8_formats_and_subtitles
    res = self._download_webpage_handle(
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 961, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 910, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
    res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 897, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4165, in urlopen
    return self._request_director.send(req)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 117, in send
    response = handler.send(request)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 340, in send
    return self._send(request)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
    raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

Activity

added
site-bugIssue with a specific website
triageUntriaged issue
on Sep 27, 2024
changed the title [mitele] Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>) [MiTele] Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>) on Sep 27, 2024
bashonly

bashonly commented on Sep 27, 2024

@bashonly
Member

Does the video play in your browser with DRM disabled?

Ayyushiii

Ayyushiii commented on Sep 27, 2024

@Ayyushiii
WW550

WW550 commented on Sep 27, 2024

@WW550
Author
seproDev

seproDev commented on Sep 27, 2024

@seproDev
Member

The question is not if you need to change settings, but if you can play it with DRM disabled. Most browser have DRM enabled by default. yt-dlp can not and will not support DRM protected content.
If the video doesn't play with DRM disabled it can not be supported by yt-dlp.

WW550

WW550 commented on Sep 27, 2024

@WW550
Author

For the URL originally reported in this issue, DRM must be enabled however, also within MiTele, another two different videos play in-browser without DRM (DRM disabled) but yt-dlp fails with the same error. See output for both URLs below.

yt-dlp -vU https://www.mitele.es/programas-tv/cuarto-milenio/temporada-20/programa-800-40_013383290/player/
[debug] Command-line config: ['-vU', 'https://www.mitele.es/programas-tv/cuarto-milenio/temporada-20/programa-800-40_013383290/player/']
[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.09.26.232938 from yt-dlp/yt-dlp-nightly-builds [eabb468] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.8.0-45-generic-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.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5, websockets-9.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds)
[MiTele] Extracting URL: https://www.mitele.es/programas-tv/cuarto-milenio/temporada-20/programa-800-40_013383290/player/
[MiTele] programa-800-40_013383290: Downloading webpage
[MiTele] 6e622b72-51b4-4248-8c48-98aad9964cb4: Downloading config JSON
[MiTele] 6e622b72-51b4-4248-8c48-98aad9964cb4: Downloading JSON metadata
[MiTele] 6e622b72-51b4-4248-8c48-98aad9964cb4: Downloading JSON metadata
[MiTele] 6e622b72-51b4-4248-8c48-98aad9964cb4: Downloading JSON metadata
[MiTele] 6e622b72-51b4-4248-8c48-98aad9964cb4: Downloading m3u8 information
ERROR: [MiTele] programa-800-40_013383290: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 741, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/mitele.py", line 67, in _real_extract
video_info = self._parse_content(pre_player['video'], url)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/telecinco.py", line 102, in _parse_content
formats = self._extract_m3u8_formats(
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 2031, in _extract_m3u8_formats
fmts, subs = self._extract_m3u8_formats_and_subtitles(*args, **kwargs)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 2053, in _extract_m3u8_formats_and_subtitles
res = self._download_webpage_handle(
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 961, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 910, in _request_webpage
raise ExtractorError(errmsg, cause=err)

File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 897, in _request_webpage
return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4165, in urlopen
return self._request_director.send(req)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 117, in send
response = handler.send(request)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 340, in send
return self._send(request)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden


yt-dlp -vU https://www.mitele.es/programas-tv/horizonte/temporada-5/programa-171-40_013480051/player/
[debug] Command-line config: ['-vU', 'https://www.mitele.es/programas-tv/horizonte/temporada-5/programa-171-40_013480051/player/']
[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.09.26.232938 from yt-dlp/yt-dlp-nightly-builds [eabb468] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.8.0-45-generic-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.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5, websockets-9.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds)
[MiTele] Extracting URL: https://www.mitele.es/programas-tv/horizonte/temporada-5/programa-171-40_013480051/player/
[MiTele] programa-171-40_013480051: Downloading webpage
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading config JSON
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading JSON metadata
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading JSON metadata
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading JSON metadata
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading m3u8 information
ERROR: [MiTele] programa-171-40_013480051: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 741, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/mitele.py", line 67, in _real_extract
video_info = self._parse_content(pre_player['video'], url)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/telecinco.py", line 102, in _parse_content
formats = self._extract_m3u8_formats(
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 2031, in _extract_m3u8_formats
fmts, subs = self._extract_m3u8_formats_and_subtitles(*args, **kwargs)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 2053, in _extract_m3u8_formats_and_subtitles
res = self._download_webpage_handle(
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 961, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 910, in _request_webpage
raise ExtractorError(errmsg, cause=err)

File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 897, in _request_webpage
return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4165, in urlopen
return self._request_director.send(req)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 117, in send
response = handler.send(request)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 340, in send
return self._send(request)
File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden


My current version of yt-dlp (nightly):
Latest version: nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.09.26.232938 from yt-dlp/yt-dlp-nightly-builds)

nadal28

nadal28 commented on Sep 30, 2024

@nadal28

This is happening to me too now

DarkZeros

DarkZeros commented on Oct 1, 2024

@DarkZeros
Contributor

This issue should be fixed with #11142, please check if it does

WW550

WW550 commented on Oct 1, 2024

@WW550
Author

This issue should be fixed with #11142, please check if it does

How can I test with MiTele? I see #11142 has 1 file changed which is for telecinco only. Please advise.

https://github.com/yt-dlp/yt-dlp/pull/11142/files

DarkZeros

DarkZeros commented on Oct 1, 2024

@DarkZeros
Contributor

This issue should be fixed with #11142, please check if it does

How can I test with MiTele? I see #11142 has 1 file changed which is for telecinco only. Please advise.

https://github.com/yt-dlp/yt-dlp/pull/11142/files

Mitele.py calls telecinco.py as part of the process. Only with that change should be enough. To test just use git clone to clone the branch and run ./yt-dlp.sh or build it first and use the executable

nadal28

nadal28 commented on Oct 1, 2024

@nadal28

This issue should be fixed with #11142, please check if it does

How can I test with MiTele? I see #11142 has 1 file changed which is for telecinco only. Please advise.
https://github.com/yt-dlp/yt-dlp/pull/11142/files

Mitele.py calls telecinco.py as part of the process. Only with that change should be enough. To test just use git clone to clone the branch and run ./yt-dlp.sh or build it first and use the executable

still the same issue:

pc@pc:~/yt-dlp$ ./yt-dlp.sh -v https://mitele.es/series-online/yo-soy-bea/temporada-2/capitulo-367-40_1006363075946/player/
[debug] Command-line config: ['-v', 'https://mitele.es/series-online/yo-soy-bea/temporada-2/capitulo-367-40_1006363075946/player/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.09.27 from yt-dlp/yt-dlp [c6387abc1] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 6328e2e67
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-122-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.20.0, certifi-2020.06.20, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[MiTele] Extracting URL: https://mitele.es/series-online/yo-soy-bea/temporada-2/capitulo-367-40_1006363075946/player/
[MiTele] capitulo-367-40_1006363075946: Downloading webpage
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading config JSON
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading JSON metadata
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading JSON metadata
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading JSON metadata
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading m3u8 information
ERROR: [MiTele] capitulo-367-40_1006363075946: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "/home/immedia/yt-dlp/yt_dlp/extractor/common.py", line 741, in extract
    ie_result = self._real_extract(url)
  File "/home/immedia/yt-dlp/yt_dlp/extractor/mitele.py", line 67, in _real_extract
    video_info = self._parse_content(pre_player['video'], url)
  File "/home/immedia/yt-dlp/yt_dlp/extractor/telecinco.py", line 102, in _parse_content
    formats = self._extract_m3u8_formats(
  File "/home/immedia/yt-dlp/yt_dlp/extractor/common.py", line 2031, in _extract_m3u8_formats
    fmts, subs = self._extract_m3u8_formats_and_subtitles(*args, **kwargs)
  File "/home/immedia/yt-dlp/yt_dlp/extractor/common.py", line 2053, in _extract_m3u8_formats_and_subtitles
    res = self._download_webpage_handle(
  File "/home/immedia/yt-dlp/yt_dlp/extractor/common.py", line 961, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data,
  File "/home/immedia/yt-dlp/yt_dlp/extractor/common.py", line 910, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/home/immedia/yt-dlp/yt_dlp/networking/_urllib.py", line 398, in _send
    res = opener.open(urllib_req, timeout=self._calculate_timeout(request))
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/immedia/yt-dlp/yt_dlp/extractor/common.py", line 897, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
  File "/home/immedia/yt-dlp/yt_dlp/YoutubeDL.py", line 4165, in urlopen
    return self._request_director.send(req)
  File "/home/immedia/yt-dlp/yt_dlp/networking/common.py", line 117, in send
    response = handler.send(request)
  File "/home/immedia/yt-dlp/yt_dlp/networking/_helper.py", line 208, in wrapper
    return func(self, *args, **kwargs)
  File "/home/immedia/yt-dlp/yt_dlp/networking/common.py", line 340, in send
    return self._send(request)
  File "/home/immedia/yt-dlp/yt_dlp/networking/_urllib.py", line 403, in _send
    raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden
DarkZeros

DarkZeros commented on Oct 2, 2024

@DarkZeros
Contributor

Strange, I was able to download. Check that you have the same git head. Mine is this one. Also check that your IP is not geo blocked.

./yt-dlp.sh -v https://www.mitele.es/programas-tv/horizonte/temporada-5/programa-171-40_013480051/player/ --proxy 10.0.0.1:3128
[debug] Command-line config: ['-v', 'https://www.mitele.es/programas-tv/horizonte/temporada-5/programa-171-40_013480051/player/', '--proxy', '10.0.0.1:3128']
Deprecated Feature: Support for Python version 3.8 has been deprecated. Please update to Python 3.9 or above
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.09.27 from yt-dlp/yt-dlp [c6387ab] (source)
[debug] Git HEAD: b1332dd
[debug] Python 3.8.3 (CPython x86_64 64bit) - Linux-5.15.0-105-generic-x86_64-with-glibc2.10 (OpenSSL 1.1.1g 21 Apr 2020, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.19.0, brotli-None, certifi-2020.06.20, mutagen-1.47.0, requests-2.24.0, secretstorage-3.1.0, sqlite3-3.32.3, urllib3-1.25.9, websockets-11.0.3
[debug] Proxy map: {'all': '10.0.0.1:3128'}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[MiTele] Extracting URL: https://www.mitele.es/programas-tv/horizonte/temporada-5/programa-171-40_013480051/player/
[MiTele] programa-171-40_013480051: Downloading webpage
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading config JSON
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading JSON metadata
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading JSON metadata
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading JSON metadata
[MiTele] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: 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] 7adbe22e-cd41-4787-afa4-36f3da7c2c6f: Downloading 1 format(s): hls-3234
[debug] Invoking hlsnative downloader on "https://vbdk.mediaset.es/orivod/vod/bitmovin/7a/db/7adbe22e-cd41-4787-afa4-36f3da7c2c6f/main.ism/main-audio_spa=125368-video=2924720.m3u8?hdntl=1727904170-0-30--513b01ed6b86595407b6bb2d9c47d04bf3a559825905ead47f7a93601b8c6c71"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 914
[download] Destination: Horizonte Temporada 5 Programa 171 [7adbe22e-cd41-4787-afa4-36f3da7c2c6f].mp4
[download] 0.0% of ~ 2.80GiB at 24.23KiB/s ETA --:--:-- (frag 0/914)^C

./yt-dlp.sh -v https://mitele.es/series-online/yo-soy-bea/temporada-2/capitulo-367-40_1006363075946/player/ --proxy 10.0.0.1:3128
[debug] Command-line config: ['-v', 'https://mitele.es/series-online/yo-soy-bea/temporada-2/capitulo-367-40_1006363075946/player/', '--proxy', '10.0.0.1:3128']
Deprecated Feature: Support for Python version 3.8 has been deprecated. Please update to Python 3.9 or above
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.09.27 from yt-dlp/yt-dlp [c6387ab] (source)
[debug] Git HEAD: b1332dd
[debug] Python 3.8.3 (CPython x86_64 64bit) - Linux-5.15.0-105-generic-x86_64-with-glibc2.10 (OpenSSL 1.1.1g 21 Apr 2020, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.19.0, brotli-None, certifi-2020.06.20, mutagen-1.47.0, requests-2.24.0, secretstorage-3.1.0, sqlite3-3.32.3, urllib3-1.25.9, websockets-11.0.3
[debug] Proxy map: {'all': '10.0.0.1:3128'}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[MiTele] Extracting URL: https://mitele.es/series-online/yo-soy-bea/temporada-2/capitulo-367-40_1006363075946/player/
[MiTele] capitulo-367-40_1006363075946: Downloading webpage
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading config JSON
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading JSON metadata
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading JSON metadata
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading JSON metadata
[MiTele] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: 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] 1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX: Downloading 1 format(s): hls-2876
[debug] Invoking hlsnative downloader on "https://vbdk.mediaset.es/orivod/vod/lightflow/1x/c3/1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX/main.ism/main-audio_eng=127992-video=2585000.m3u8?hdntl=1727904307-0-73--9b77757dc2d51c89cf31fff921f4554354f2b12c6b04dbf8318cf8302be05bda"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 283
[download] Destination: Yo Soy Bea Temporada 2 Capítulo 367 [1xc3k1ZjE6r-LbvSQeKwLZ5W2JjMrqxX].mp4
[download] 0.0% of ~ 993.42MiB at 11.48KiB/s ETA --:--:-- (frag 0/283)^C
ERROR: Interrupted by user

17 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    geo-blockedContent is geo-blockedsite-bugIssue with a specific website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [MiTele] Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>) · Issue #11106 · yt-dlp/yt-dlp