[bbccouk] Mute thumbnail
authorSergey M․ <dstftw@gmail.com>
Thu, 30 Apr 2015 22:07:30 +0000 (04:07 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 30 Apr 2015 22:07:30 +0000 (04:07 +0600)
youtube_dl/extractor/bbccouk.py

index dbfbbb5cac8d6765b9ed00f2ef4f63f1fef4422a..249bc6bbde85dc568796f094f421f989df664a1c 100644 (file)
@@ -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,