aboutsummaryrefslogtreecommitdiff
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
parent3b4444f99a9fe84eab577fb4832972ef06a236e1 (diff)
[cloudy] Fix key extraction (Closes #5211)
-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)