youtube-downloader icon indicating copy to clipboard operation
youtube-downloader copied to clipboard

HTTP 429: Too many requests

Open guddumodok opened this issue 4 years ago • 4 comments

{ "links": [], "error": "HTTP 429: Too many requests." }

guddumodok avatar Jan 27 '21 06:01 guddumodok

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.

mhhakim avatar Jan 27 '21 15:01 mhhakim

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.

SxtBox avatar Jan 27 '21 22:01 SxtBox

One possible solution is changing the content of 'youtube_downloader_cookies.txt'.

  1. visit the YouTube website with a web browser
  2. get the list of cookies in your browser
  3. 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 ?????? ...

kclauhk avatar Jan 30 '21 08:01 kclauhk

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?

PNMIC avatar Apr 22 '21 19:04 PNMIC