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 404 #1287

Closed
lcs2 opened this issue Aug 21, 2013 · 3 comments
Closed

error 404 #1287

lcs2 opened this issue Aug 21, 2013 · 3 comments

Comments

@lcs2
Copy link

@lcs2 lcs2 commented Aug 21, 2013

youtube-dl --verbose 18 http://www.youtube.com/watch?v=UL7Ct_urpUY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '18', 'http://www.youtube.com/watch?v=UL7Ct_urpUY']
[debug] youtube-dl version 2013.08.17
[debug] Python version 2.7.4 - Linux-3.8.0-26-generic-x86_64-with-LinuxMint-15-olivia
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 18: Downloading video webpage
ERROR: Unable to download video webpage: HTTP Error 404: Not Found; 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.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 550, in _real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, 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)
HTTPError: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 552, in _real_extract
raise ExtractorError(u'Unable to download video webpage: %s' % compat_str(err))
ExtractorError: Unable to download video webpage: HTTP Error 404: Not Found; 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.

(version is updated, btw)

@moraxy
Copy link

@moraxy moraxy commented Aug 21, 2013

youtube-dl --verbose 18 http://www.youtube.com/watch?v=UL7Ct_urpUY

what's with the 18?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 21, 2013

@moraxy is right, using youtube-dl http://www.youtube.com/watch?v=UL7Ct_urpUY works fine, if you want to download format 18, then run youtube-dl http://www.youtube.com/watch?v=UL7Ct_urpUY -f 18.
If you still have the problem, please comment here.

@jaimeMF jaimeMF closed this Aug 21, 2013
@lcs2
Copy link
Author

@lcs2 lcs2 commented Aug 22, 2013

after changing the sequence and adding -f 18 after instead of before the url adress it works properly
thanks, problem solved!

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.