1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

Additional regex for yahoo extractor

This commit is contained in:
igv 2016-01-21 12:36:09 +03:00 committed by Sergey M․
parent 4519c1f43c
commit 383496e65e

View 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')