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

[http://ldt.iri.centrepompidou.fr] JW Player with content lead to UnsupportedError(URL) in _real_extract #5867

Open
cregouby opened this issue Jun 1, 2015 · 0 comments

Comments

@cregouby
Copy link

@cregouby cregouby commented Jun 1, 2015

Hello,
This mooc content is available through JVPlayer (flash) and should lead to a mp4 video.
Right now it seems that youtube-dl fallbacks to default extractor and is missing the rtmp part extraction of the content
Using chrome browser in conjunction with wireshark provides the following decode in the rtmpt flow : "Real Time Messaging Protocol (AMF0 Command play('mp4:video/ldtplatform/upload/cours_ic01/cours1.mp4'))" - no idea if it helps-
Thanks a lot for your support
Christophe

⟫ youtube-dl 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/embediframe/?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be' -i -v 
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/embediframe/?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be', u'-i', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.20
[debug] Python version 2.7.9 - Linux-3.19.0-18-generic-x86_64-with-Ubuntu-15.04-vivid
[debug] exe versions: avconv 11.2-6, avprobe 11.2-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] ?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be: Downloading webpage
[generic] ?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be: Extracting information
ERROR: Unsupported URL: http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/embediframe/?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 969, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1558, 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: XML or text declaration not at start of entity: line 6, column 0
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 649, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1504, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/embediframe/?content_id=5c4a3b7a-bc0b-11e4-831a-00145ea4a2be&project_id=3e91ca0a-bc18-11e4-831a-00145ea4a2be
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
1 participant
You can’t perform that action at this time.