projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/common] Add _download_xml_handle
[youtube-dl]
/
youtube_dl
/
extractor
/
sport5.py
diff --git
a/youtube_dl/extractor/sport5.py
b/youtube_dl/extractor/sport5.py
index 7e67833062d0a21d2c663b1b5d24246d653f0116..a417b5a4ef0ddf302f11dc36f430572192e64262 100644
(file)
--- a/
youtube_dl/extractor/sport5.py
+++ b/
youtube_dl/extractor/sport5.py
@@
-41,7
+41,7
@@
class Sport5IE(InfoExtractor):
webpage = self._download_webpage(url, media_id)
webpage = self._download_webpage(url, media_id)
- video_id = self._html_search_regex('clipId=([\w-]+)', webpage, 'video id')
+ video_id = self._html_search_regex(
r
'clipId=([\w-]+)', webpage, 'video id')
metadata = self._download_xml(
'http://sport5-metadata-rr-d.nsacdn.com/vod/vod/%s/HDS/metadata.xml' % video_id,
metadata = self._download_xml(
'http://sport5-metadata-rr-d.nsacdn.com/vod/vod/%s/HDS/metadata.xml' % video_id,