[cloudy] Fix key extraction (Closes #5211)
authorSergey M․ <dstftw@gmail.com>
Sun, 15 Mar 2015 16:42:13 +0000 (22:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 15 Mar 2015 16:42:13 +0000 (22:42 +0600)
youtube_dl/extractor/cloudy.py

index abf8cc280b3d6f1aeefe8219a1fd0ea5d1224be1..0fa720ee8745cfc728b4413b41888e17787fb5db 100644 (file)
@@ -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)