aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/InfoExtractors.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 8535a3e9a..11fcd6adc 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -4559,13 +4559,14 @@ class Vbox7IE(InfoExtractor):
info_response = self._download_webpage(info_request, video_id, u'Downloading info webpage')
if info_response is None:
raise ExtractorError(u'Unable to extract the media url')
- final_url = (info_response.split('&')[0]).split('=')[1]
+ (final_url, thumbnail_url) = map(lambda x: x.split('=')[1], info_response.split('&'))
return [{
- 'id': video_id,
- 'url': final_url,
- 'ext': ext,
- 'title': title,
+ 'id': video_id,
+ 'url': final_url,
+ 'ext': ext,
+ 'title': title,
+ 'thumbnail': thumbnail_url,
}]
def gen_extractors():