]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Additional regex for yahoo extractor
authorigv <igv.versn@gmail.com>
Thu, 21 Jan 2016 09:36:09 +0000 (12:36 +0300)
committerSergey M․ <dstftw@gmail.com>
Thu, 21 Jan 2016 16:35:28 +0000 (22:35 +0600)
youtube_dl/extractor/yahoo.py

index 4a492f7841b3c2abbd8466a2a01f6cdc485a13a7..92b50f6f7598df3eb687d30e5465f851a02554ed 100644 (file)
@@ -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')