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

91porn bugs #7578

Closed
buptlishantao opened this issue Nov 20, 2015 · 7 comments
Closed

91porn bugs #7578

buptlishantao opened this issue Nov 20, 2015 · 7 comments

Comments

@buptlishantao
Copy link

@buptlishantao buptlishantao commented Nov 20, 2015

youtube-dl http://91porn.com/view_video.php?viewkey=1d2740a84a620fcfef0f

[91porn] 1d2740a84a620fcfef0f: get HTML content
ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 20, 2015

Post the full output of youtube-dl when run with --verbose option.

@buptlishantao
Copy link
Author

@buptlishantao buptlishantao commented Nov 20, 2015

localhost:~ lishantao$ youtube-dl --verbose http://91porn.com/view_video.php?viewkey=1d2740a84a620fcfef0f
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://91porn.com/view_video.php?viewkey=1d2740a84a620fcfef0f']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.19
[debug] Python version 2.7.10 - Darwin-15.0.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[91porn] 1d2740a84a620fcfef0f: get HTML content
ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 329, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1873, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/Users/lishantao/anaconda/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/Users/lishantao/anaconda/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/Users/lishantao/anaconda/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 684, in http_open
req)
File "/Users/lishantao/anaconda/lib/python2.7/urllib2.py", line 1200, in do_open
r = h.getresponse(buffering=True)
File "/Users/lishantao/anaconda/lib/python2.7/httplib.py", line 1132, in getresponse
response.begin()
File "/Users/lishantao/anaconda/lib/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/Users/lishantao/anaconda/lib/python2.7/httplib.py", line 417, in _read_status
raise BadStatusLine(line)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 20, 2015

Can you watch it in browser?

@buptlishantao
Copy link
Author

@buptlishantao buptlishantao commented Nov 20, 2015

I am in china,if I turn shadowsocks on, I can watch it in browser.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 20, 2015

So you have to provide http proxy to youtube-dl with --proxy.

@dstftw dstftw closed this Nov 20, 2015
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 20, 2015

Looks like shadowsocks uses socks5 protocol. It's not directly supported via --proxy. See #402 for workarounds.

@buptlishantao
Copy link
Author

@buptlishantao buptlishantao commented Nov 20, 2015

thanks

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.