From: Sergey M․ Date: Sun, 21 Feb 2016 21:13:18 +0000 (+0600) Subject: [googledrive] Make thumbnail optional (Closes #8629) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d69abbd3f04b5f3fced2c6a53b4fce788e31906d;p=youtube-dl [googledrive] Make thumbnail optional (Closes #8629) --- diff --git a/youtube_dl/extractor/googledrive.py b/youtube_dl/extractor/googledrive.py index f354c9c7a..37be34091 100644 --- a/youtube_dl/extractor/googledrive.py +++ b/youtube_dl/extractor/googledrive.py @@ -82,7 +82,7 @@ class GoogleDriveIE(InfoExtractor): return { 'id': video_id, 'title': title, - 'thumbnail': self._og_search_thumbnail(webpage), + 'thumbnail': self._og_search_thumbnail(webpage, default=None), 'duration': duration, 'formats': formats, }