about summary refs log tree commit diff
path: root/youtube_dl/extractor/cloudy.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-03-15 22:42:13 +0600
committerSergey M․ <dstftw@gmail.com>2015-03-15 22:42:13 +0600
commitec1b9577ba31b7b078eec370680f84909b2e70e3 (patch)
tree1ff1ce7085737b67e88eb17d529d65882737b239 /youtube_dl/extractor/cloudy.py
parent3b4444f99a9fe84eab577fb4832972ef06a236e1 (diff)
downloadyoutube-dl-ec1b9577ba31b7b078eec370680f84909b2e70e3.tar.gz
youtube-dl-ec1b9577ba31b7b078eec370680f84909b2e70e3.tar.xz
youtube-dl-ec1b9577ba31b7b078eec370680f84909b2e70e3.zip
[cloudy] Fix key extraction (Closes #5211)
Diffstat (limited to 'youtube_dl/extractor/cloudy.py')
-rw-r--r--youtube_dl/extractor/cloudy.py3
1 files changed, 2 insertions, 1 deletions
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)