[googledrive] Make thumbnail optional (Closes #8629)
authorSergey M․ <dstftw@gmail.com>
Sun, 21 Feb 2016 21:13:18 +0000 (03:13 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 21 Feb 2016 21:13:18 +0000 (03:13 +0600)
youtube_dl/extractor/googledrive.py

index f354c9c7aa3f43a1aed6c04afb60fe5a9d8c434b..37be34091895392b014a8fe2167d9c708ca60e71 100644 (file)
@@ -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,
         }