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

download youtube fail #4271

Closed
faturr opened this issue Nov 22, 2014 · 1 comment
Closed

download youtube fail #4271

faturr opened this issue Nov 22, 2014 · 1 comment

Comments

@faturr
Copy link

@faturr faturr commented Nov 22, 2014

[fatur@localhost ~]$ youtube-dl --verbose http://www.youtube.com/watch?v=OIQipGY6SK
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=OIQipGY6SK']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.21.1
[debug] Python version 2.7.5 - Linux-3.11.10-301.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
[debug] exe versions: none
[debug] Proxy map: {}
[generic] watch?v=OIQipGY6SK: Requesting header
WARNING: Could not send HEAD request to http://www.youtube.com/watch?v=OIQipGY6SK: HTTP Error 404: Not Found
[generic] watch?v=OIQipGY6SK: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (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/bin/youtube-dl/youtube_dl/extractor/common.py", line 273, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1301, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

[fatur@localhost ~]$

@naglis
Copy link
Collaborator

@naglis naglis commented Nov 22, 2014

Hi, @faturr,
please check the URL of the video. Youtube video IDs (the part after ?v=) are 11 characters in length, so your URL is missing one character.

@naglis naglis closed this Nov 22, 2014
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
2 participants
You can’t perform that action at this time.