6
[youtube] lMttqRuFmL8: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
3
  • What OS/release are you using? (that is a 'universe' or community package, so is no longer supported for 16.04 LTS for example, so issues with 16.04 should be expected). – guiverc Mar 26 '20 at 1:54
  • ubuntu 18.04 LTS – Tonmoy Ahmed Mar 26 '20 at 2:11
  • @TonmoyAhmed Latest version should report: 2020.03.24. If this is ok try altering your command line to: youtube-dl -4 URL – andrew.46 Mar 26 '20 at 3:46
9

Using --cookies works for me.

Install the cookies.txt addon on Firefox. Export cookie.

$ youtube-dl --cookies cookies.txt www.youtube.com/watch?v=..
1
7

In this issue, @dstftw explains that all IPv6 addresses get banned by YouTube.

https://github.com/ytdl-org/youtube-dl/issues/21729

So, --force-ipv4 should help. If it doesn't, the another workaround could be attaching a cookie from your browser with --cookies option.

2
  • --force-ipv4 works for me, thank you – Dody Rachmat Wicaksono Oct 7 '20 at 20:43
  • I solve it by using --force-ipv6 – Salem F Nov 24 '20 at 23:24
2

Perhaps you are actually sending too many request at the given time.

The status code 429 refers to TooManyRequest. In the real scenario you are sending more than expected requests on that site.

You could try later or change your IP using a proxy or VPN.

1
  • 2
    What worked for me was to disconnect the VPN and to add --force-ipv4 to the arguments. – Eric Aya Aug 16 '20 at 11:48
1

Try updating youtube-dl to the latest version.

youtube-dl -U 

if installed via PIP

pip install --upgrade youtube-dl

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.