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

my.mail.ru currently not recognized #12940

Open
jengelh opened this issue Apr 30, 2017 · 2 comments
Open

my.mail.ru currently not recognized #12940

jengelh opened this issue Apr 30, 2017 · 2 comments

Comments

@jengelh
Copy link

@jengelh jengelh commented Apr 30, 2017

Before submitting an issue make sure you have:

  • [*] At least skimmed through README and most notably FAQ and BUGS sections
  • [*] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [*] Site support request (request for adding support for a new site)
$ ./YTD -v https://my.mail.ru/video/embed/50599499340448671
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://my.mail.ru/video/embed/50599499340448671']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.01
[debug] Python version 2.7.12 - Linux-4.11.0-rc8-3-default-x86_64-with-SuSE-42.2-x86_64
[debug] exe versions: ffmpeg 3.3, ffprobe 3.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 50599499340448671: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 50599499340448671: Downloading webpage
[generic] 50599499340448671: Extracting information
ERROR: Unsupported URL: https://my.mail.ru/video/embed/50599499340448671
Traceback (most recent call last):
  File "./YTD/youtube_dl/extractor/generic.py", line 1955, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "./YTD/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "./YTD/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 14, column 111691
Traceback (most recent call last):
  File "./YTD/youtube_dl/YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "./YTD/youtube_dl/extractor/common.py", line 429, in extract
    ie_result = self._real_extract(url)
  File "./YTD/youtube_dl/extractor/generic.py", line 2834, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://my.mail.ru/video/embed/50599499340448671

Opening the URL in a browser yields a usable element, but maybe that's hidden and created on-the-fly by the javascripts?

@LoneFox78
Copy link

@LoneFox78 LoneFox78 commented May 2, 2017

It's not the subdomain that causes the problem. The plugin simply doesn't support embedded videos.

@WolfganP
Copy link

@WolfganP WolfganP commented Jul 30, 2017

My workaround: if you click in the lower right corner of the embedded video you'll be redirected to the main video page, and you'll get an URL that youtube-dl may understand (in your case it'll be https://my.mail.ru/mail/proffit/video/EuropeBestSEO/927.html)

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
3 participants
You can’t perform that action at this time.