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 #1337
Comments
|
Thanks for reporting, other users have already reported this problem : #1307, but I cannot reproduce the errors. |
|
is it because I exceeded the download limits? I'm also getting the same error: WARNING: unable to extract uploader nickname ============= verbose output ================= $youtube-dl --verbose -f 18 http://www.youtube.com/watch?v=vfndCiKYO40 |
|
updated the tool but now getting different error for the same video: $sudo youtube-dl --update ========== error ============= $youtube-dl --verbose -f 18 http://www.youtube.com/watch?v=vfndCiKYO40 |
|
I m making use of Youtube-dl in my app: http://boxmydownloads.com/ It downloads your urls directly in your Dropbox (including videos from Youtube) The link http://www.youtube.com/watch?v=vfndCiKYO40' works on Boxmydownloads, since its built on Youtube-dl, I m sure its not an issue with Youtube-dl. It can be because the uploader has banned the video access from your Country. |
|
thanks! will try it out ur site. I found out the reason. basically when this issue happens, I tried playing a video on youtube and I got below message: once I verified by entering the captcha, it started working. |
|
hey Virendra, |
|
try my repo, one of them is having that command. |
|
not rightnow! We are using a very small portion of Youtube-dl. But we are slowly adding more and more features to. We'll keep you updated with it |
|
@pravsingh As documented in our FAQ 402 errors are youtube's way of saying that you've downloaded too much. By the way, here are a few comments to your tools:
I think you can just replace the whole
|
I do not know if that is a bug.
I have updated and here goes the verbose output as required.
----- start
Ubuntu:~/Desktop$ [youtube] Setting language
[youtube] IrsKPKjGF_Y: Downloading video webpage
[youtube] IrsKPKjGF_Y: 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.
[1]+ Exit 1 youtube-dl -f 18 http://www.youtube.com/watch?v=IrsKPKjGF_Y
Ubuntu:
/Desktop$ youtube-dl --verbose -f 18 http://www.youtube.com/watch?v=IrsKPKjGF_Y&/Desktop$ [debug] System config: [][1] 7401
Ubuntu:
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', '18', 'http://www.youtube.com/watch?v=IrsKPKjGF_Y']
[debug] youtube-dl version 2013.08.28
[debug] Python version 2.7.3 - Linux-3.2.0-52-generic-pae-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] IrsKPKjGF_Y: Downloading video webpage
[youtube] IrsKPKjGF_Y: Downloading video info webpage
[youtube] Confirming age
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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 128, in _request_webpage
return compat_urllib_request.urlopen(url_or_request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, 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)
[1]+ Exit 1 youtube-dl --verbose -f 18 http://www.youtube.com/watch?v=IrsKPKjGF_Y
----- stop