[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 @@ def _real_extract(self, url):
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)