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

NBA URL #4167

Closed
RingoTheDog opened this issue Nov 12, 2014 · 3 comments
Closed

NBA URL #4167

RingoTheDog opened this issue Nov 12, 2014 · 3 comments

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Nov 12, 2014

URL: http://www.nba.com/raptors/video/2014/11/11/NBAWEB141111BOUCHARDRAPTORmp4-3433066

youtube-dl -v http://www.nba.com/raptors/video/2014/11/11/NBAWEB141111BOUCHARDRAPTORmp4-3433066
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.nba.com/raptors/video/2014/11/11/N
BAWEB141111BOUCHARDRAPTORmp4-3433066']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.11.12.1
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-
[debug] Proxy map: {}
[generic] NBAWEB141111BOUCHARDRAPTORmp4-3433066: Requesting header
WARNING: Falling back on generic information extractor.
[generic] NBAWEB141111BOUCHARDRAPTORmp4-3433066: Downloading webpage
[generic] NBAWEB141111BOUCHARDRAPTORmp4-3433066: Extracting information
ERROR: Unsupported URL: http://www.nba.com/raptors/video/2014/11/11/NBAWEB141111
BOUCHARDRAPTORmp4-3433066; please report this issue on https://yt-dl.org/bug . B
e sure to call youtube-dl with the --verbose flag and include its complete outpu
t. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 599, in _real_extract
File "youtube_dl\utils.pyo", line 1310, 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: duplicate attribute: line 3, column 2
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 536, in extract_info
File "youtube_dl\extractor\common.pyo", line 199, in extract
File "youtube_dl\extractor\generic.pyo", line 980, in _real_extract
ExtractorError: Unsupported URL: http://www.nba.com/raptors/video/2014/11/11/NBA
WEB141111BOUCHARDRAPTORmp4-3433066; please report this issue on https://yt-dl.or
g/bug . Be sure to call youtube-dl with the --verbose flag and include its compl
ete output. Make sure you are using the latest version; type youtube-dl -U to
update.

As always, thanks in advance!
Ringo

@RingoTheDog
Copy link
Author

@RingoTheDog RingoTheDog commented Dec 6, 2014

Not sure if this will help, but I discovered that the player in the above NBA link appears to point to:

rtmp://cp118328.edgefcs.net:1935/ondemand?_fcs_vhost=cp118328.edgefcs.net&auth=daEaEdrbOdccyc9bPdDc8afcnb2dsb_a8cm-buG0Up-b4-BIvCnoFCrFpm&aifp=v001&slist=s/as3/nlds_vod/nbatv/vod/2014/11/11/nba_web_141111_bouchardraptor/nba_web_141111_bouchardraptor_1_400;s/as3/nlds_vod/nbatv/vod/2014/11/11/nba_web_141111_bouchardraptor/nba_web_141111_bouchardraptor_1_800;s/as3/nlds_vod/nbatv/vod/2014/11/11/nba_web_141111_bouchardraptor/nba_web_141111_bouchardraptor_1_1600;s/as3/nlds_vod/nbatv/vod/2014/11/11/nba_web_141111_bouchardraptor/nba_web_141111_bouchardraptor_1_3000

@RingoTheDog
Copy link
Author

@RingoTheDog RingoTheDog commented Dec 13, 2014

Came across another example today. Both URLs point to same video:
http://www.nba.com/timberwolves/wiggins-shootaround
http://www.nba.com/timberwolves/video/2014/12/12/Wigginsmp4-3462601

youtube-dl -v "http://www.nba.com/timberwolves/wiggins-shootaround"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.nba.com/timberwolves/wiggins-shootaround']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.11.20
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-, rtmpdump 2.4
[debug] Proxy map: {}
[generic] wiggins-shootaround: Requesting header
WARNING: Falling back on generic information extractor.
[generic] wiggins-shootaround: Downloading webpage
[generic] wiggins-shootaround: Extracting information
ERROR: Unsupported URL: http://www.nba.com/timberwolves/wiggins-shootaround; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --
lete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 609, in _real_extract
File "youtube_dl\utils.pyo", line 1332, 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: duplicate attribute: line 3, column 2
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 536, in extract_info
File "youtube_dl\extractor\common.pyo", line 199, in extract
File "youtube_dl\extractor\generic.pyo", line 996, in _real_extract
ExtractorError: Unsupported URL: http://www.nba.com/timberwolves/wiggins-shootaround; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl wi
its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

youtube-dl.py -v "http://www.nba.com/timberwolves/video/2014/12/12/Wigginsmp4-3462601"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.nba.com/timberwolves/video/2014/12/12/Wigginsmp4-3462601']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.12.12.7
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-, rtmpdump 2.4
[debug] Proxy map: {}
[generic] Wigginsmp4-3462601: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Wigginsmp4-3462601: Downloading webpage
[generic] Wigginsmp4-3462601: Extracting information
ERROR: Unsupported URL: http://www.nba.com/timberwolves/video/2014/12/12/Wigginsmp4-3462601; please report this issue on h
be-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 660, in _real_extract
doc = parse_xml(webpage)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\utils.py", line 1436, 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: duplicate attribute: line 3, column 2
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 555, in extract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 243, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\generic.py", line 1060, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.nba.com/timberwolves/video/2014/12/12/Wigginsmp4-3462601; please report this i
pe youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

(doesn't seem to recognize these are NBA.COM URLs and uses the generic extractor)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Feb 23, 2016

Thanks for the report. Such URLs will be supported in the next version.

@yan12125 yan12125 closed this Feb 23, 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
2 participants
You can’t perform that action at this time.