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.
KhanAcademy JSON metadata: HTTP Error 400: #2887
Comments
|
I can't see any video on the page. |
|
I have to admint that I didn't check beforehand if there's a video on that page. Indeed, there's none, so let's assume this bug report is about the error message, not the failure to download a non-existant videioo. |
|
I get this error as well. Perhaps youtube-dl should report that no video was found? |
Attempting to download certain videos from khanacademy.org results in a 400 Error:
youtube-dl --verbose http://www.khanacademy.org/cs/phoenix-with-ashes/6746032244260864
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.khanacademy.org/cs/phoenix-with-ashes/6746032244260864']
[debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1
[debug] youtube-dl version 2014.05.05
[debug] Python version 2.7.6 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
[KhanAcademy] 6746032244260864: Downloading topic info
ERROR: Unable to download JSON metadata: HTTP Error 400: Bad Request; 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/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 194, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1214, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)