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

MLB URL format #3653

Closed
RingoTheDog opened this issue Sep 1, 2014 · 1 comment
Closed

MLB URL format #3653

RingoTheDog opened this issue Sep 1, 2014 · 1 comment

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Sep 1, 2014

Example (same clip)

This MLB URL does works:
http://m.mlb.com/video/topic/6479266/v35692085/oakhou-fan-dunks-ceremonial-first-pitch

Embedded MLB URL does not work:
http://m.mlb.com/shared/video/embed/embed.html?content_id=35692085&topic_id=6479266&width=400&height=224&property=mlb

youtube-dl -v http://m.mlb.com/shared/video/embed/embed.html?content_id=35692085&topic_id=6479266&width=400&height=224&property=mlb
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://m.mlb.com/shared/video/embed/embed.htm
l?content_id=35692085']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.09.01.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] embed: Requesting header
WARNING: Falling back on generic information extractor.
[generic] embed: Downloading webpage
[generic] embed: Extracting information
ERROR: Unsupported URL: http://m.mlb.com/shared/video/embed/embed.html?content_i
d=35692085; 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 yo
u are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 530, in _real_extract
File "youtube_dl\utils.pyo", line 1472, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: junk after document element: line 41, column 0
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 521, in extract_info
File "youtube_dl\extractor\common.pyo", line 178, in extract
File "youtube_dl\extractor\generic.pyo", line 869, in _real_extract
ExtractorError: Unsupported URL: http://m.mlb.com/shared/video/embed/embed.html?
content_id=35692085; 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. Mak
e sure you are using the latest version; type youtube-dl -U to update.

'topic_id' is not recognized as an internal or external command,
operable program or batch file.
'width' is not recognized as an internal or external command,
operable program or batch file.
'height' is not recognized as an internal or external command,
operable program or batch file.
'property' is not recognized as an internal or external command,
operable program or batch file.

Thanks as always
Ringo

@dstftw dstftw closed this in 1a94ff6 Sep 2, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 2, 2014

Support for mlb video embeds has been added. Thanks for the report.

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.