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

Error 402 Payment required yt-dl. #12562

Closed
brandonj159 opened this issue Mar 26, 2017 · 3 comments
Closed

Error 402 Payment required yt-dl. #12562

brandonj159 opened this issue Mar 26, 2017 · 3 comments

Comments

@brandonj159
Copy link

@brandonj159 brandonj159 commented Mar 26, 2017

Hello what happens is that I write the command to download a download and I get the error HTTP Error 402: Payment Required and wanted to know if I could help with this error
:~# youtube-dl --verbose -f 18 http://www.youtube.com/watch?v=vfndCiKYO40
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-f', u'18', u'http://www.youtube.com/watch?v=vfndCiKYO40']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.24
[debug] Python version 2.7.6 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] vfndCiKYO40: Downloading webpage
[youtube] vfndCiKYO40: Downloading video info webpage
ERROR: unable to download video info webpage: HTTP Error 402: Payment Required (caused by HTTPError()); please 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 complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 497, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2094, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@Hrxn
Copy link

@Hrxn Hrxn commented Mar 26, 2017

Seems to work in browser on my side, what happens when you try that?

@brandonj159
Copy link
Author

@brandonj159 brandonj159 commented Mar 26, 2017

When I try to download I get the error that I eat you before and do not let me download anything is the 1 time that happens

@dstftw dstftw closed this Mar 26, 2017
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
3 participants
You can’t perform that action at this time.