From: Sergey M․ Date: Thu, 30 Apr 2015 22:07:30 +0000 (+0600) Subject: [bbccouk] Mute thumbnail X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=650cfd0cb0e330c8e6b1a5cc43a5a20d54b4714c;p=youtube-dl [bbccouk] Mute thumbnail --- diff --git a/youtube_dl/extractor/bbccouk.py b/youtube_dl/extractor/bbccouk.py index dbfbbb5ca..249bc6bbd 100644 --- a/youtube_dl/extractor/bbccouk.py +++ b/youtube_dl/extractor/bbccouk.py @@ -343,8 +343,6 @@ class BBCCoUkIE(InfoExtractor): webpage = self._download_webpage(url, group_id, 'Downloading video page') - thumbnail = self._og_search_thumbnail(webpage) - programme_id = None tviplayer = self._search_regex( @@ -375,7 +373,7 @@ class BBCCoUkIE(InfoExtractor): 'id': programme_id, 'title': title, 'description': description, - 'thumbnail': thumbnail, + 'thumbnail': self._og_search_thumbnail(webpage, default=None), 'duration': duration, 'formats': formats, 'subtitles': subtitles,