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

KhanAcademy JSON metadata: HTTP Error 400: #2887

Closed
canavan opened this issue May 10, 2014 · 3 comments
Closed

KhanAcademy JSON metadata: HTTP Error 400: #2887

canavan opened this issue May 10, 2014 · 3 comments

Comments

@canavan
Copy link

canavan commented May 10, 2014

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)

@anovicecodemonkey
Copy link

I can't see any video on the page.

@canavan
Copy link
Author

canavan commented May 21, 2014

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.

@clampak
Copy link

clampak commented Dec 15, 2014

I get this error as well. Perhaps youtube-dl should report that no video was found?

ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this issue Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants