aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-01 04:07:30 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-01 04:07:30 +0600
commit650cfd0cb0e330c8e6b1a5cc43a5a20d54b4714c (patch)
tree54309455f238d1addf93d2daac8085870a779e33
parente68ae99a417f39db269dcffb5011cfcc8341552d (diff)
[bbccouk] Mute thumbnail
-rw-r--r--youtube_dl/extractor/bbccouk.py4
1 files changed, 1 insertions, 3 deletions
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,