X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2FInfoExtractors.py;h=11fcd6adcc8b73e1b7ec278fb2eb184327539bc0;hb=cd453d38bbd038076c1b301396c2f996e77e261f;hp=8535a3e9a758d0d8d88f7fc3b482dba7367059c1;hpb=ecb3e676a52a0b478511751ca84da74188972b39;p=youtube-dl 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():