From: Sergey M․ Date: Sun, 15 Mar 2015 16:42:13 +0000 (+0600) Subject: [cloudy] Fix key extraction (Closes #5211) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ec1b9577ba31b7b078eec370680f84909b2e70e3;p=youtube-dl [cloudy] Fix key extraction (Closes #5211) --- diff --git a/youtube_dl/extractor/cloudy.py b/youtube_dl/extractor/cloudy.py index abf8cc280..0fa720ee8 100644 --- a/youtube_dl/extractor/cloudy.py +++ b/youtube_dl/extractor/cloudy.py @@ -105,6 +105,7 @@ class CloudyIE(InfoExtractor): webpage = self._download_webpage(url, video_id) file_key = self._search_regex( - r'filekey\s*=\s*"([^"]+)"', webpage, 'file_key') + [r'key\s*:\s*"([^"]+)"', r'filekey\s*=\s*"([^"]+)"'], + webpage, 'file_key') return self._extract_video(video_host, video_id, file_key)