youtube-downloader
youtube-downloader copied to clipboard
HTTP 429: Too many requests
{ "links": [], "error": "HTTP 429: Too many requests." }
You will see this when the youtube rate limits/ban your IP due to sending too many requests. Possible solutions here are changing your IP or use a proxy.
You will see this when the youtube rate limits/ban your IP due to sending too many requests. Possible solutions here are changing your IP or use a proxy.
youtube does not block ips only limits them for a few hours or one day.
One possible solution is changing the content of 'youtube_downloader_cookies.txt'.
- visit the YouTube website with a web browser
- get the list of cookies in your browser
- copy all of the items for the domain .youtube.com into youtube_downloader_cookies.txt
items look like: .youtube.com TRUE / FALSE 1234567890 APISID ?????? .youtube.com TRUE / TRUE 1234567890 CONSENT ?????? ...
How can I use proxy with the script? I already have a proxy service and I'm using it with other scripts and all I have to do is replace file_get_contents with the proxy script. I cannot find where it makes the actual call to youtube in the script?