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 API page ; please guy, can someone help me ? thanks 1000k in advance #7898
Comments
|
There are two problems. First your command is incorrect. I should be:
Second you are using an out-dated version (2014.02.17). Following update instructions to update your copy. |
youtube-dl -F youtube-dl --verbose -F --proxy https://www.youtube.com/watch?v=7nF2BAfWUEg
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', 'youtube-dl', '--verbose', '-F', '--proxy', 'https://www.youtube.com/watch?v=7nF2BAfWUEg']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-24-generic-i686-athlon-with-LinuxMint-17-qiana
[debug] Proxy map: {u'http': 'https://www.youtube.com/watch?v=7nF2BAfWUEg', u'https': 'https://www.youtube.com/watch?v=7nF2BAfWUEg'}
[youtube:search] query "youtube-dl": Downloading page 1
ERROR: Unable to download API page: ''; 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/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 191, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1157, in urlopen
return self._opener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 572, in https_open
return self.do_open(HTTPSConnectionV3, req)
File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 979, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1013, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 975, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 835, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 797, in send
self.connect()
File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 564, in connect
self._tunnel()
File "/usr/lib/python2.7/httplib.py", line 758, in _tunnel
(version, code, message) = response._read_status()
File "/usr/lib/python2.7/httplib.py", line 379, in _read_status
raise BadStatusLine(line)