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

Cant download api& #9032

Closed
klkuznetsov opened this issue Mar 30, 2016 · 3 comments
Closed

Cant download api& #9032

klkuznetsov opened this issue Mar 30, 2016 · 3 comments

Comments

@klkuznetsov
Copy link

@klkuznetsov klkuznetsov commented Mar 30, 2016

klk@Microserver:/data/inp/Download$ youtube-dl -user xxxxx@gmail.com -password +++++ -f 22 https://youtu.be/Ezc4HdLGxg4 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-user', 'xxxxx', '-password', 'xxxxx', '-f', '22', 'https://youtu.be/Ezc4HdLGxg4', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.19.0-28-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:search] query "xxxxxx@gmail.com": Downloading page 1
ERROR: Unable to download API page: HTTP Error 410: Gone; 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/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 191, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1157, in urlopen
return self._opener.open(req)
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)

@phihag
Copy link
Contributor

@phihag phihag commented Mar 30, 2016

The options --username and --password must be preceded by double, not single dashes (also mind the name in --username). youtube-dl will then also then not show the password in the output. You just posted your password to the internet, please change it.

@phihag phihag closed this Mar 30, 2016
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 30, 2016

You are also using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

@klkuznetsov
Copy link
Author

@klkuznetsov klkuznetsov commented Mar 30, 2016

Updating helps me. Thanks

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.