yt-dlp: [youtube] Unable to download webpage: HTTP Error 403: Forbidden
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 the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
Italy
Provide a description that is worded well enough to be understood
Download from youtube doesn’t works. I tried different video and I tried to ask youtube for available format (-F option) but I receive
yt-dlp.exe -vU --no-check-certificates -F "https://www.youtube.com/watch?v=TresvW4dxlc"
P.S. I use --no-check-certificates because I’m behind a VPN.
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': TruetoYoutubeDLparams instead - Copy the WHOLE output (starting with
[debug] Command-line config) and insert it below
Complete Verbose Output
[debug] Command-line config: ['-vU', '--no-check-certificates', '-F', 'https://www.youtube.com/watch?v=TresvW4dxlc']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.10.22 from yt-dlp/yt-dlp [67adeb7ba] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1839 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.10.22 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.10.22 from yt-dlp/yt-dlp)
[youtube] Extracting URL: https://www.youtube.com/watch?v=TresvW4dxlc
[youtube] TresvW4dxlc: Downloading webpage
WARNING: [youtube] Unable to download webpage: HTTP Error 403: Forbidden
[youtube] TresvW4dxlc: Downloading ios player API JSON
WARNING: [youtube] Unable to download API page: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
[youtube] TresvW4dxlc: Downloading iframe API JS
WARNING: [youtube] Unable to download webpage: HTTP Error 403: Forbidden
[youtube] TresvW4dxlc: Downloading mweb player API JSON
WARNING: [youtube] Unable to download API page: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
ERROR: [youtube] TresvW4dxlc: Failed to extract any player response; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "yt_dlp\extractor\common.py", line 741, in extract
File "yt_dlp\extractor\youtube.py", line 4568, in _real_extract
File "yt_dlp\extractor\youtube.py", line 4532, in _download_player_responses
File "yt_dlp\extractor\youtube.py", line 4191, in _extract_player_responses
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 9
- Comments: 18 (5 by maintainers)
happening for me on linux. i do not use a vpn