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: Unable to download video webpage: HTTP Error 404: Not Found #1070

Closed
kenorb opened this issue Jul 17, 2013 · 2 comments
Closed

ERROR: Unable to download video webpage: HTTP Error 404: Not Found #1070

kenorb opened this issue Jul 17, 2013 · 2 comments

Comments

@kenorb
Copy link

@kenorb kenorb commented Jul 17, 2013

$ youtube-dl -vcti --write-description --write-info-json --all-subs --write-thumbnail -R5 http://www.youtube.com/NASA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vcti', '-R5', '--write-description', '--write-info-json', '--all-subs', '--write-thumbnail', '-vcti', '--write-description', '--write-info-json', '--all-subs', '--write-thumbnail', '-R5', 'http://www.youtube.com/NASA']
[debug] youtube-dl version 2013.07.17.1
[debug] Python version 2.7.4 - Linux-3.8.0-26-generic-i686-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[youtube] Setting language
WARNING: unable to set language: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol>
[youtube] NASA: 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.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 414, 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 416, 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.
@kenorb
Copy link
Author

@kenorb kenorb commented Jul 17, 2013

Actually this URL seems to work: http://www.youtube.com/user/NASAgovVideo
but not that one: http://www.youtube.com/NASA

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 23, 2013

Duplicate of #1069, even if the error messages are different, the problem is the same: user urls in the form youtube.com/user are interpreted as video urls.

@jaimeMF jaimeMF closed this Jul 23, 2013
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.