A feature-rich command-line audio/video downloader
[yahoo] Add improve content id regexes (Closes #8290)
Sergey M․e87d98b0ddbb
diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.pyindex 92b50f6f75..4c6142927d 100644--- a/youtube_dl/extractor/yahoo.py+++ b/youtube_dl/extractor/yahoo.py@@ -221,7 +221,8 @@ 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=([^&]+)&',+ r'<article[^>]data-uuid=["\']([^"\']+)',+ r'yahoo://article/view\?.*\buuid=([^&"\']+)',]video_id = self._search_regex(CONTENT_ID_REGEXES, webpage, 'content ID')