Browse Source

[cloudy] Fix key extraction (Closes #5211)

Sergey M․ 10 years ago
parent
commit
ec1b9577ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      youtube_dl/extractor/cloudy.py

+ 2 - 1
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)