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

HTTP Error 429 #4520

Closed
burningmonk opened this issue Dec 19, 2014 · 10 comments
Closed

HTTP Error 429 #4520

burningmonk opened this issue Dec 19, 2014 · 10 comments

Comments

@burningmonk
Copy link

@burningmonk burningmonk commented Dec 19, 2014

Im getting this error today and yesterday from my mp3 downloading website. Does anyone else encountered this problem?

youtube-dl http://youtube.com/watch?v=dTaD9cd8hvw --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://youtube.com/watch?v=dTaD9cd8hvw', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.3 - Linux-3.2.0-23-generic-x86_64-with-Ubuntu-12.04-precise
[debug] exe versions: avconv 0.8.10-4, avprobe 0.8.10-4, ffmpeg 0.8.10-4, ffprobe 0.8.10-4, rtmpd ump 2.4
[debug] Proxy map: {}
[youtube] dTaD9cd8hvw: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); ple ase 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 co mplete output.
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 276, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1370, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Thanks

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 19, 2014

You have probably downloaded too much videos, can you play the video in a browser from the same computer?

@burningmonk
Copy link
Author

@burningmonk burningmonk commented Dec 19, 2014

captcha validation requires. website traffic didnt rised up nowadays. its the same as before. After I validated captcha, a moment later it asks again. Maybe youtube took down that captcha request threshold.

@Elite
Copy link

@Elite Elite commented Dec 20, 2014

I am also facing this issue on my website, I guess Youtube is trying hard to block websites now.

@iggyvolz
Copy link

@iggyvolz iggyvolz commented Dec 20, 2014

What machine are you validating the captcha from? If you're doing it from
your local machine it won't have any effect - but if you're using a proxy
through your website machine it should work once you solve the captcha.

@burningmonk
Copy link
Author

@burningmonk burningmonk commented Dec 20, 2014

Hi @iggyvolz
Now I installed proxy server on my website machine and from my local computer I browse youtube from that proxy server and validate captcha. But still I get the same error

@burningmonk burningmonk reopened this Dec 20, 2014
@bubbleguuum
Copy link

@bubbleguuum bubbleguuum commented Dec 23, 2014

Same error here, on a headless server. It seems Google is on a mission to block tools like youtube-dl.

Btw, why is this issue marked closed ?

@burningmonk
Copy link
Author

@burningmonk burningmonk commented Dec 23, 2014

I actually wanted to know anyone else has that issue and thought youtube-dl team cannot do anything about this so I closed. @jaimeMF

@sisihagen
Copy link

@sisihagen sisihagen commented Mar 13, 2015

Same here, no matter which video try download, playlist, all videos, ever same error.

youtube-dl -tif 43 --verbose https://www.youtube.com/channel/UCGS956shcnUGt3ocVURB3hg/videos
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-tif', '43', '--verbose', 'https://www.youtube.com/channel/UCGS956shcnUGt3ocVURB3hg/videos']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.02.1-gentoo_no_offensive_sites
[debug] Python version 2.7.9
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:channel] UCGS956shcnUGt3ocVURB3hg: 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 . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 231, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1286, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(_args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(_args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Regards

@iggyvolz
Copy link

@iggyvolz iggyvolz commented Mar 14, 2015

Make sure you solve the captcha through the same connection you use with youtube-dl. If you use a proxy with youtube-dl, use the same proxy to solve the captcha. If you don't use a proxy with youtube-dl, don't use a proxy to solve the captcha.

@gboddin
Copy link

@gboddin gboddin commented Mar 26, 2015

wget on ipv6 is failing as well (429)

This is from a dedicated server, so I'm assuming they're blocking high-bandwidth connections.

So be carefull if you have a mix of ipv6 and ipv4, if you solve the captcha on IPv4 and connect with IPv6 it won't work ;)

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

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.