question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skip some errors, but not 429 Too Many Request errors?

See original GitHub issue

I’m using youtube-dl to archive a few YouTube channels and playlists. Some of the playlists contain unavailable videos (e.g. deleted, made private, etc). I don’t want the download of the playlist to stop because of such an error.

However, I don’ t want to skip all errors, because doing so will skip 429 Too Many Requests. This is a rate limit put in place by YouTube. If I skip this error, Youtube-Dl can easily plow through 100 more videos hitting 429s right away, and in essence get my IP blocked for a long time.

Is there a way to specify skipping some errors, but not 429 too many requests?

Alternatively, can I ONLY skip video is unavailable, private, etc errors?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
danny-wucommented, Jan 4, 2020

YouTube has updated something. I get 429s now on a known good configuration.

I think they’re detecting YouTube-dl somehow, but still only rate limiting at a certain threshold to not trip casual use and also make counterdetection harderbb

0reactions
sunxvogycommented, Jan 4, 2020

I haven’t downloaded any videos with youtube-dl today from youtube, but as i wanted to start it now, it told me multiple times “HTTP Error 429: Too Many Requests”, but in the Browser i’m not banned from YouTube, also YouTube App is working on my phone in my WLAN, so what is going on? (i even tried the “–force-ipv4” argument)

Edit: Seams my IP was blocked or whatever, after i reconnected mit router (and got a new ip) everything worked fine again. But if my IP would be blocked, then youtube shouldn’t work in the browser either? Hmm…

I assume it would be YouTube blocks “something” + IP. It doesn’t use the IP address only. Too strange.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix 429 Too Many Requests Error - Kinsta
The HTTP 429 error is returned when too many requests are made to a page within a short period of time. Find out...
Read more >
How to Fix 429 Too Many Requests Error Code - Hostinger
Don't know how to deal with the 429 too many requests error? We'll share the six effective solutions to diagnose and resolve it!...
Read more >
How to avoid HTTP error 429 (Too Many Requests) python
Receiving a status 429 is not an error, it is the other server "kindly" asking you to please stop spamming requests.
Read more >
429 Error – Too Many Requests HTTP Code Explained
The 429 error is an HTTP status code. It tells you when the use of an internet resource has surpassed the number of...
Read more >
429 Too Many Requests - HTTP - MDN Web Docs
The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found