Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
HTTP Error 402: Payment Required; #1307
Comments
|
I got a similar error when I tried to download with WebM 480p format but when I tried with mp4 at 480p the download began. Here is the first attempt with WebM: youtube-dl -f 43 https://www.youtube.com/watch?v=UV_X2B5OK1I Then as mp4: youtube-dl -f 18 https://www.youtube.com/watch?v=UV_X2B5OK1I |
|
I get something similar when i try to update youtube-dl
but downloading works great, i even used your command |
|
@pyed Your issue is unrelated - you forgot the dashes before update (and then youtube-dl tries to download the URL
|
|
@phihag I must be high on something when i wrote that, for real, sorry. |
|
As documented in our FAQ 402 errors are youtube's way of saying that you've downloaded too much. @szunyi How much data did you (approximately) download from youtube? In my personal experience and from what I've heard before, the limit should not hit even excessive normal users, I've successfully downloaded 20+ GB on a single day from a single IP address. In any case, either solving the captcha or switching the IP address should work. |
|
hehe :) my account on hostgator (unlimited hosting) was very fast - 15.13MiB/s to 55 :) |
|
@phihag these have both been resolved |
here is my -verbose log:
youtube-dl -cit --verbose https://www.youtube.com/watch?v=pJL7hiOhBCk
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-cit', '--verbose', 'https://www.youtube.com/watch?v=pJL7hiOhBCk']
[debug] youtube-dl version 2013.08.23
[debug] Python version 2.6.6 - Linux-3.2.45-x86_64-with-glibc2.2.5
[debug] Proxy map: {}
[youtube] Setting language
[youtube] pJL7hiOhBCk: Downloading video webpage
[youtube] pJL7hiOhBCk: Downloading video info webpage
ERROR: unable to download video info webpage: HTTP Error 402: Payment Required; 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 "./youtube-dl/youtube_dl/extractor/common.py", line 128, in _request_webpage
return compat_urllib_request.urlopen(url_or_request)
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 435, in error
return self._call_chain(_args)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(_args)
File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
thanks for investigate