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 download video webpage #1891

Closed
alq974120alq opened this issue Dec 4, 2013 · 2 comments
Closed

unable to download video webpage #1891

alq974120alq opened this issue Dec 4, 2013 · 2 comments

Comments

@alq974120alq
Copy link

@alq974120alq alq974120alq commented Dec 4, 2013

using proxy, my safari browser works well,
but on terminal, it doesn't work

python:2.6.1
max os x : 10.6.8

who can give me some suggestion?

follow is the youtube-dl's output:
-F --proxy "http://192.168.0.123:8080" -v http://www.youtube.com/watch?v=6DKNKI27GdA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', '--proxy', 'http://192.168.0.123:8080', '-v', 'http://www.youtube.com/watch?v=6DKNKI27GdA']
[debug] youtube-dl version 2013.12.03
[debug] Python version 2.6.1 - Darwin-10.8.0-i386-64bit
[debug] Proxy map: {'http': 'http://192.168.0.123:8080', 'https': 'http://192.168.0.123:8080'}
[youtube] Setting language
WARNING: unable to set language:
[youtube] 6DKNKI27GdA: Downloading video webpage
ERROR: Unable to download video webpage: ; 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 "/Users/alq/workspace/online-video-downloader/trunk/dist/VideoDownloader_dbg.app/Contents/MacOS/yd/youtube_dl/extractor/youtube.py", line 1265, in _real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 383, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 401, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 701, in
meth(r, proxy, type))
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 724, in proxy_open
return self.parent.open(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 383, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 401, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1141, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1114, in do_open
r = h.getresponse()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 950, in getresponse
response.begin()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 390, in begin
version, status, reason = self._read_status()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 354, in _read_status
raise BadStatusLine(line)
BadStatusLine
Traceback (most recent call last):
File "/Users/alq/workspace/online-video-downloader/trunk/dist/VideoDownloader_dbg.app/Contents/MacOS/yd/youtube_dl/YoutubeDL.py", line 429, in extract_info
ie_result = ie.extract(url)
File "/Users/alq/workspace/online-video-downloader/trunk/dist/VideoDownloader_dbg.app/Contents/MacOS/yd/youtube_dl/extractor/common.py", line 131, in extract
return self._real_extract(url)
File "/Users/alq/workspace/online-video-downloader/trunk/dist/VideoDownloader_dbg.app/Contents/MacOS/yd/youtube_dl/extractor/youtube.py", line 1267, in _real_extract
raise ExtractorError(u'Unable to download video webpage: %s' % compat_str(err))
ExtractorError: Unable to download video webpage: ; 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.

@xubuntu4iran
Copy link

@xubuntu4iran xubuntu4iran commented Dec 5, 2013

update your python to 2.7.6

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 13, 2016

Most likely this is caused by your proxy.

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