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

NHL URL failure... #4805

Closed
RingoTheDog opened this issue Jan 28, 2015 · 2 comments
Closed

NHL URL failure... #4805

RingoTheDog opened this issue Jan 28, 2015 · 2 comments

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Jan 28, 2015

URL:
http://www.nhl.com/ice/news.htm?id=750727
http://video.nhl.com/videocenter/?id=736722
(different URLs, same video...same result)

youtube-dl.py -v "http://www.nhl.com/ice/news.htm?id=750727"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.nhl.com/ice/news.htm?id=750727']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.01.25
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-g31dfe20, rtmpdump 2.4
[debug] Proxy map: {}
[generic] news: Requesting header
WARNING: Falling back on generic information extractor.
[generic] news: Downloading webpage
[generic] news: Extracting information
ERROR: Unsupported URL: http://www.nhl.com/ice/news.htm?id=750727
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 681, in _real_extract
doc = parse_xml(webpage)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\utils.py", line 1490, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1300, in XML
parser.feed(text)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 88, column 87
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 613, in extract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 266, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 1090, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.nhl.com/ice/news.htm?id=750727

youtube-dl.py -v "http://video.nhl.com/videocenter/?id=736722"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://video.nhl.com/videocenter/?id=736722']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.01.25
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-g31dfe20, rtmpdump 2.4
[debug] Proxy map: {}
[generic] ?id=736722: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?id=736722: Downloading webpage
[generic] ?id=736722: Extracting information
ERROR: Unsupported URL: http://video.nhl.com/videocenter/?id=736722
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 681, in _real_extract
doc = parse_xml(webpage)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\utils.py", line 1490, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1300, in XML
parser.feed(text)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "C:\Python27\lib\xml\etree\ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 22, column 109
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 613, in extract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 266, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 1090, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://video.nhl.com/videocenter/?id=736722

Thanks (again....)
Ringo

dstftw added a commit that referenced this issue Jan 30, 2015
@dstftw dstftw closed this in e4c17d7 Jan 30, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 30, 2015

Will be fixed in the next version, thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 2, 2015

youtube-dl 2015.02.02 and newer add support for these URLs as well. Unfortunately, the nhl seems to be pretty nimble when it comes to inventing new URL formats. Thanks for the continuing reports! See our FAQ if you need help updating.

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.