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

[Mwave] youtube-dl fails when parsing url with "/en/" #10735

Closed
cheshyre opened this issue Sep 23, 2016 · 0 comments
Closed

[Mwave] youtube-dl fails when parsing url with "/en/" #10735

cheshyre opened this issue Sep 23, 2016 · 0 comments

Comments

@cheshyre
Copy link

@cheshyre cheshyre commented Sep 23, 2016

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Failing command

$ youtube-dl -v http://mwave.interest.me/en/mnettv/videodetail.m?searchVideoDetailVO.clip_id=176199
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://mwave.interest.me/en/mnettv/videodetail.m?searchVideoDetailVO.clip_id=176199']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.19
[debug] Python version 2.7.12 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.1.3, ffprobe 3.1.3
[debug] Proxy map: {}
[generic] videodetail.m?searchVideoDetailVO: Requesting header
WARNING: Falling back on generic information extractor.
[generic] videodetail.m?searchVideoDetailVO: Downloading webpage
[generic] videodetail.m?searchVideoDetailVO: Extracting information
ERROR: Unsupported URL: http://mwave.interest.me/en/mnettv/videodetail.m?searchVideoDetailVO.clip_id=176199
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1649, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2525, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2514, in _XML
    parser.feed(text)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 19, column 124
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 355, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2424, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://mwave.interest.me/en/mnettv/videodetail.m?searchVideoDetailVO.clip_id=176199

However, this works just fine:

$ youtube-dl http://mwave.interest.me/mnettv/videodetail.m?searchVideoDetailVO.clip_id=176199

Video used

http://mwave.interest.me/en/mnettv/videodetail.m?searchVideoDetailVO.clip_id=176199


Description of issue

I believe the only problem here is the "/en/" in the URL so I think it is worth investigating what languages are included in the URL and adding support for those.

@cheshyre cheshyre mentioned this issue Sep 24, 2016
1 of 3 tasks complete
@dstftw dstftw closed this in f92bb61 Sep 24, 2016
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.