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: ExtractorError #3695

Closed
m-tana opened this issue Sep 7, 2014 · 2 comments
Closed

KhanAcademy: ExtractorError #3695

m-tana opened this issue Sep 7, 2014 · 2 comments

Comments

@m-tana
Copy link

@m-tana m-tana commented Sep 7, 2014

m@bogon:/media/Data/youtube/KhanAcademy/t$ python ../../youtube-dl https://www.khanacademy.org/math/linear-algebra/vectors_and_spaces --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://www.khanacademy.org/math/linear-algebra/vectors_and_spaces', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.06
[debug] Python version 2.7.8 - Linux-3.14-2-686-pae-i686-with-debian-jessie-sid
[debug] Proxy map: {}
[KhanAcademy] vectors_and_spaces: Downloading topic info
[download] Downloading playlist: Vectors and spaces
[KhanAcademy] playlist Vectors and spaces: Collected 7 video ids (downloading 7 of them)
[download] Downloading video #1 of 7
[generic] vectors: Requesting header
WARNING: Could not send HEAD request to http://api.khanacademy.org/math/linear-algebra/vectors_and_spaces/vectors: HTTP Error 405: Method Not Allowed
WARNING: Falling back on generic information extractor.
[generic] vectors: Downloading webpage
[generic] vectors: Extracting information
ERROR: Unsupported URL: http://api.khanacademy.org/math/linear-algebra/vectors_and_spaces/vectors; 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.
Traceback (most recent call last):
  File "../../youtube-dl/youtube_dl/extractor/generic.py", line 545, in _real_extract
    doc = parse_xml(webpage)
  File "../../youtube-dl/youtube_dl/utils.py", line 1466, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 21, column 16
Traceback (most recent call last):
  File "../../youtube-dl/youtube_dl/YoutubeDL.py", line 523, in extract_info
    ie_result = ie.extract(url)
  File "../../youtube-dl/youtube_dl/extractor/common.py", line 178, in extract
    return self._real_extract(url)
  File "../../youtube-dl/youtube_dl/extractor/generic.py", line 890, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://api.khanacademy.org/math/linear-algebra/vectors_and_spaces/vectors; 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.
@dstftw dstftw closed this in 68477e8 Sep 9, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 9, 2014

Thanks for the report, fixed and will be available in the next release of youtube-dl.

@m-tana
Copy link
Author

@m-tana m-tana commented Sep 9, 2014

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.