yt-dlp: [youtube] Skipping player response / HTTP Error 429: Too Many Requests / Video Not Available
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’m running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
- 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
Germany
Provide a description that is worded well enough to be understood
Downloading any video currently gives me the error of “No Video formats found” @coletdjnz already said it seems to be related to the API giving 429 responses. Here is my verbose log:
yt-dlp "https://www.youtube.com/shorts/y7aFRsM7vRU" -v
[debug] Command-line config: ['https://www.youtube.com/shorts/y7aFRsM7vRU', '-v']
[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@2023.03.04 [392389b7d]
[debug] Lazy loading extractors is disabled
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.15.0-56-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f 31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg n4.4-179-gcb0a1bb805-20211011 (fdk,setts), ffprobe n4.4-179-gcb0a1bb805-20211011
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1822 extractors
[youtube] Extracting URL: https://www.youtube.com/shorts/y7aFRsM7vRU
[youtube] y7aFRsM7vRU: Downloading webpage
WARNING: [youtube] Unable to download webpage: HTTP Error 429: Too Many Requests
[youtube] y7aFRsM7vRU: Downloading android player API JSON
WARNING: [youtube] Skipping player response from android client (got player response for video "aQvGIIdgFDM" instead of "y7aFRsM7vRU"); 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
[youtube] y7aFRsM7vRU: Downloading iframe API JS
[youtube] y7aFRsM7vRU: Downloading player bbe1b497
[youtube] y7aFRsM7vRU: Downloading web player API JSON
WARNING: [youtube] Skipping player response from web client (got player response for video "aQvGIIdgFDM" instead of "y7aFRsM7vRU"); 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
[youtube] y7aFRsM7vRU: Downloading initial data API JSON
WARNING: Extractor failed to obtain "title". Creating a generic title instead
ERROR: [youtube] y7aFRsM7vRU: No video formats found!; 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
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1552, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1649, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1708, in process_ie_result
ie_result = self.process_video_result(ie_result, download=download)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 2650, in process_video_result
self.raise_no_formats(info_dict)
File "/usr/local/lib/python3.8/dist-packages/yt_dlp/YoutubeDL.py", line 1066, in raise_no_formats raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [youtube] y7aFRsM7vRU: No video formats found!; 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
I made sure to update to the latest version using this command:
sudo python3 -m pip install --force-reinstall git+https://github.com/yt-dlp/yt-dlp.git --no-cache-dir --upgrade
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
toYoutubeDL
params instead - Copy the WHOLE output (starting with
[debug] Command-line config
) and insert it below
Complete Verbose Output
[debug] Command-line config: ['-vU']
[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@2023.03.04 [392389b7d]
[debug] Lazy loading extractors is disabled
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.15.0-56-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f 31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg n4.4-179-gcb0a1bb805-20211011 (fdk,setts), ffprobe n4.4-179-gcb0a1bb805-20211011
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1822 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.03.04, Current version: stable@2023.03.04
yt-dlp is up to date (stable@2023.03.04)
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 3
- Comments: 45 (4 by maintainers)
–force-ipv4 actually works! ipv6 does not!
Same issue but only for live streams. I am trying to get m3u8 link by using -g and it’s giving 429 error
The blocking seems to be purely IP based and server side. Since even browsers do not seem to be immune, there is no solution that doesn’t involve changing your IP somehow (passing logged in cookies may also help). There is really nothing we can do about this.
While I’ll keep this open for workaround discussions, I am unsubscribing from this. If anything actionable comes up, ping me.
I believe your ip was throttled, trying with proxy should work.
@juliawilkins if you are running this on a server then youtube has certainly blocked your server’s IP (if not a whole range). You’ll need to export cookies from a browser following the workaround steps here or else use a proxy / different IP
No
One invidious maintainer told me that he can’t reproduce the issue anymore since he shutted down their invidious instance since last Saterday.
The people that reported this issue when using yt-dlp, can you still replicate the issue?
@Ulmo @userlip @dikmen0fficial @M4hbod
Similar issue. Does this also happen with Digital Ocean servers? I tried both --force-ipv4 and --force-ipv6 and neither worked. I’ll have to consider doing a proxy.
I’m having the same problem on my Hetzner server, does anyone know the solution?