-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[MLB] New MLB.com video urls not supported #21241
Comments
Bump....
Thanks |
Another example... Embedded URL does NOT work: Direct link to video DOES work: youtube-dl.py -v https://www.mlb.com/video/player-spotlight-ja youtube-dl.py -v "https://cuts.diamond.mlb.com/FORGE/2019/2019 |
A post pandemic example ;-) URL: https://www.mlb.com/news/javier-baez-makes-slick-defensive-play-at-shortstop falls back to generic and fails: C:>youtube-dl.py -v "https://www.mlb.com/news/javier-baez-makes-slick-defensive-play-at-shortstop" |
* https://github.com/ytdl-org/youtube-dl: [mlb] fix video extracion(ytdl-org#21241)
Checklist
Verbose log
$ youtube-dl https://www.mlb.com/video/must-c-belli-s-impressive-throw --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.mlb.com/video/must-c-belli-s-impressive-throw', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.20
[debug] Python version 2.7.10 (CPython) - Darwin-18.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] must-c-belli-s-impressive-throw: Requesting header
WARNING: Falling back on generic information extractor.
[generic] must-c-belli-s-impressive-throw: Downloading webpage
[generic] must-c-belli-s-impressive-throw: Extracting information
ERROR: Unsupported URL: https://www.mlb.com/video/must-c-belli-s-impressive-throw
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2340, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2551, 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 2540, in _XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 110, column 83
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3329, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.mlb.com/video/must-c-belli-s-impressive-throw
Description
MLB has a new video setup and it doesn't appear to be supported for newer URLs. Here's another one: https://www.mlb.com/video/yonny-chirinos-in-play-out-s-to-rowdy-tellez
The text was updated successfully, but these errors were encountered: