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

Unable to update - HTTP Error 404: Not Found #3780

Closed
Rosuav opened this issue Sep 17, 2014 · 3 comments
Closed

Unable to update - HTTP Error 404: Not Found #3780

Rosuav opened this issue Sep 17, 2014 · 3 comments

Comments

@Rosuav
Copy link

@Rosuav Rosuav commented Sep 17, 2014

Trying to download any video from Youtube results in "KeyError: 'sig'", so I'm trying to update youtube-dl to see if there are any changes.

$ sudo youtube-dl --updateUpdating to latest version...
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 7, in <module>
  File "/usr/local/bin/youtube-dl/__init__.py", line 536, in main

  File "/usr/local/bin/youtube-dl/__init__.py", line 510, in _real_main

  File "/usr/local/bin/youtube-dl/__init__.py", line 55, in updateSelf

  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 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 439, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 626, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
$ youtube-dl --version
2012.09.27

Am I on a version that's too old to automatically update? If so, what's the recommended approach?

@pricejn2
Copy link

@pricejn2 pricejn2 commented Sep 17, 2014

See #3149 for a manual update method:

wget https://yt-dl.org/latest/youtube-dl -O ./youtube-dl
@Rosuav
Copy link
Author

@Rosuav Rosuav commented Sep 17, 2014

Ah, and more importantly #3152 which mentions the lack of SNI.

(Does this really need to be downloaded via https?)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 12, 2016

Manual instruction can be found here: http://rg3.github.io/youtube-dl/download.html.

@dstftw dstftw closed this Jun 12, 2016
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.