1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-03 17:34:28 +01:00

[cloudy] Fix key extraction (Closes #5211)

This commit is contained in:
Sergey M․ 2015-03-15 22:42:13 +06:00
parent 3b4444f99a
commit ec1b9577ba

View File

@ -105,6 +105,7 @@ class CloudyIE(InfoExtractor):
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
file_key = self._search_regex( 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) return self._extract_video(video_host, video_id, file_key)