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

Videos on commons.wikimedia.org #1309

Closed
Rudloff opened this issue Aug 24, 2013 · 1 comment
Closed

Videos on commons.wikimedia.org #1309

Rudloff opened this issue Aug 24, 2013 · 1 comment

Comments

@Rudloff
Copy link
Contributor

@Rudloff Rudloff commented Aug 24, 2013

pierre@Rudloff:~$ youtube-dl https://commons.wikimedia.org/wiki/File:0DRIVE.ogv 
WARNING: Falling back on generic information extractor.
[generic] File:0DRIVE.ogv: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden; 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.
pierre@Rudloff:~$ youtube-dl --verbose https://commons.wikimedia.org/wiki/File:0DRIVE.ogv
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://commons.wikimedia.org/wiki/File:0DRIVE.ogv']
[debug] youtube-dl version 2013.08.23
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] File:0DRIVE.ogv: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden; 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/bin/youtube-dl/youtube_dl/extractor/common.py", line 128, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  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 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)
@phihag
Copy link
Contributor

@phihag phihag commented Aug 24, 2013

Ouch, looks like we don't properly overwrite the HTTPS handler. I'm on it, thanks for reporting.

@phihag phihag closed this in 0838239 Aug 24, 2013
phihag added a commit that referenced this issue Aug 27, 2013
phihag added a commit that referenced this issue Aug 27, 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.