Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It seems youtube banned me with "Error 429: Too Many Requests" for downloading too much? #22983

Closed
3 tasks done
ZYinMD opened this issue Nov 5, 2019 · 6 comments
Closed
3 tasks done

Comments

@ZYinMD
Copy link

ZYinMD commented Nov 5, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Yesterday I was downloading several thousand songs from youtube with --extract-audio , by having over a hundred playlists in my url file. Today I woke up and found half was done, the second half were all blocked by Error 429: Too Many Requests. Then I tested with some other random non-music videos, same result.

I have no problem watching youtube in browser though.

Is youtube known to do this? Will I get unbanned after a while?

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=nrluT5oNbsQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.05
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.4.0-18362-Microsoft-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.2.1-0york0, ffprobe 4.2.1-0york0, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[youtube] nrluT5oNbsQ: Downloading webpage
[youtube] nrluT5oNbsQ: Downloading video info webpage
WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests
WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests
WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests
WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests
ERROR: nrluT5oNbsQ: YouTube said: Unable to extract video data
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1836, in _real_extract
    'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
ExtractorError: nrluT5oNbsQ: YouTube said: Unable to extract video data
@Zuccace
Copy link

Zuccace commented Nov 8, 2019

Yes. Youtube does this. I'm not sure if it's a ban really since no one has reported they've been also blocked on the www-site.
Proxying your connection also does not seem to work.

@ZYinMD
Copy link
Author

ZYinMD commented Nov 8, 2019

Hi @Zuccace , thanks very much for your answer! Are they known to unban me after some time? By now it's been 4 days, still the same...

@Zuccace
Copy link

Zuccace commented Nov 8, 2019

I don't know how youtube handles these internally. But I investigated more, and it seems that "greylisted" IPs need to solve catchpa. I figured this out by sandboxing a seperate browser session and using a proxy server.

There isn't much I, or youtube-dl devs can do right now. :(

This really sucks since I cannot usually watch 4k content directly on browser because my internet connection is very unstable. The obvious answer has been to use youtube-dl.

We can just hope someone comes up with a working patch.

@ZYinMD
Copy link
Author

ZYinMD commented Nov 8, 2019

Oh yes! Thanks for finding that catchpa behavior! Indeed, it's very easy to reproduce. Just open an incognito window and click any youtube video, boom there's the catchpa.

I hope it'll go away on its own after some time, I'll report back when it does.

@born2net
Copy link

born2net commented Dec 5, 2019

same issue here... no solution?

@mfierro0
Copy link

mfierro0 commented Dec 6, 2019

Hi @ZYinMD,

I hope it'll go away on its own after some time, I'll report back when it does.

Have you been unbanned?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants