Browse Source

[googledrive] Make thumbnail optional (Closes #8629)

Sergey M․ 9 years ago
parent
commit
d69abbd3f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/googledrive.py

+ 1 - 1
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,
         }