Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error : Unable to download webpage: '' (caused by BadStatusLine("''",)); #5566
Comments
|
www.youtubeunblocker.org is not a standard proxy server. Technically, standard proxy servers should implement the CONNECT method, while www.youtubeunblocker.org not. |
[kalix@arch-desktop dl]$ youtube-dl --proxy http://www.youtubeunblocker.org https://www.youtube.com/watch?v=4cby_RCIcIU --verbose | xclip -i
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--proxy', 'http://www.mainprox.com', '--proxy', 'http://www.youtubeunblocker.org', 'https://www.youtube.com/watch?v=4cby_RCIcIU', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.26
[debug] Python version 3.4.3 - Linux-3.19.3-3-ARCH-i686-with-arch
[debug] exe versions: ffmpeg 2.6.2, ffprobe 2.6.2, rtmpdump 2.4
[debug] Proxy map: {'https': 'http://www.youtubeunblocker.org', 'http': 'http://www.youtubeunblocker.org'}
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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 315, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1701, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.4/urllib/request.py", line 463, in open
response = self._open(req, data)
File "/usr/lib/python3.4/urllib/request.py", line 481, in _open
'_open', req)
File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
result = func(_args)
File "/usr/lib/python3.4/site-packages/youtube_dl/utils.py", line 719, in https_open
req, *_kwargs)
File "/usr/lib/python3.4/urllib/request.py", line 1182, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.4/http/client.py", line 1088, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1126, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1084, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 922, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 857, in send
self.connect()
File "/usr/lib/python3.4/http/client.py", line 1223, in connect
super().connect()
File "/usr/lib/python3.4/http/client.py", line 837, in connect
self._tunnel()
File "/usr/lib/python3.4/http/client.py", line 815, in _tunnel
(version, code, message) = response._read_status()
File "/usr/lib/python3.4/http/client.py", line 321, in _read_status
raise BadStatusLine(line)