Browse Source

Additional regex for yahoo extractor

master
igv 8 years ago
committed by Sergey M․
parent
commit
383496e65e
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/extractor/yahoo.py

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

Loading…
Cancel
Save