projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4519c1f
)
Additional regex for yahoo extractor
author
igv
<igv.versn@gmail.com>
Thu, 21 Jan 2016 09:36:09 +0000
(12:36 +0300)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 21 Jan 2016 16:35:28 +0000
(22:35 +0600)
youtube_dl/extractor/yahoo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/yahoo.py
b/youtube_dl/extractor/yahoo.py
index 4a492f7841b3c2abbd8466a2a01f6cdc485a13a7..92b50f6f7598df3eb687d30e5465f851a02554ed 100644
(file)
--- a/
youtube_dl/extractor/yahoo.py
+++ b/
youtube_dl/extractor/yahoo.py
@@
-221,6
+221,7
@@
class YahooIE(InfoExtractor):
r'root\.App\.Cache\.context\.videoCache\.curVideo = \{"([^"]+)"',
r'"first_videoid"\s*:\s*"([^"]+)"',
r'%s[^}]*"ccm_id"\s*:\s*"([^"]+)"' % re.escape(page_id),
+ r'yahoo:\/\/article\/view\?uuid=([^&]+)&',
]
video_id = self._search_regex(
CONTENT_ID_REGEXES, webpage, 'content ID')