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.
Aloha!
This issue is reproducible on two different machines.
youtube-dl https://www.arte.tv/de/videos/074119-000-A/irak-und-wieder-brennt-das-oel/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--format', u'best', u'https://www.arte.tv/de/videos/074119-000-A/irak-und-wieder-brennt-das-oel/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.10.01
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-LinuxMint-2-betsy
[debug] exe versions: ffmpeg 2.6.9, ffprobe 2.6.9
[debug] Proxy map: {}
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Downloading webpage
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Downloading JSON metadata
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Checking HLS_XQ_2 video format URL
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Checking HLS_XQ_3 video format URL
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Checking HLS_XQ_1 video format URL
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Checking HLS_XQ_4 video format URL
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Checking HLS_XQ_5 video format URL
[arte.tv:+7] irak-und-wieder-brennt-das-oel: Checking HTTPS_SQ_1 video format URL
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/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 503, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2184, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1086, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1200, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1111, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 444, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 408, in _read_status
raise BadStatusLine(line)