Merge pull request #878 from yasoob/master
[youtube-dl] / youtube_dl / InfoExtractors.py
index 8535a3e9a758d0d8d88f7fc3b482dba7367059c1..11fcd6adcc8b73e1b7ec278fb2eb184327539bc0 100755 (executable)
@@ -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():