mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-29 01:44:38 +01:00
Additional regex for yahoo extractor
This commit is contained in:
parent
4519c1f43c
commit
383496e65e
@ -221,6 +221,7 @@ class YahooIE(InfoExtractor):
|
|||||||
r'root\.App\.Cache\.context\.videoCache\.curVideo = \{"([^"]+)"',
|
r'root\.App\.Cache\.context\.videoCache\.curVideo = \{"([^"]+)"',
|
||||||
r'"first_videoid"\s*:\s*"([^"]+)"',
|
r'"first_videoid"\s*:\s*"([^"]+)"',
|
||||||
r'%s[^}]*"ccm_id"\s*:\s*"([^"]+)"' % re.escape(page_id),
|
r'%s[^}]*"ccm_id"\s*:\s*"([^"]+)"' % re.escape(page_id),
|
||||||
|
r'yahoo:\/\/article\/view\?uuid=([^&]+)&',
|
||||||
]
|
]
|
||||||
video_id = self._search_regex(
|
video_id = self._search_regex(
|
||||||
CONTENT_ID_REGEXES, webpage, 'content ID')
|
CONTENT_ID_REGEXES, webpage, 'content ID')
|
||||||
|
Loading…
Reference in New Issue
Block a user