1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

[googledrive] Make thumbnail optional (Closes #8629)

This commit is contained in:
Sergey M․ 2016-02-22 03:13:18 +06:00
parent 1d00a8823e
commit d69abbd3f0

View File

@ -82,7 +82,7 @@ class GoogleDriveIE(InfoExtractor):
return { return {
'id': video_id, 'id': video_id,
'title': title, 'title': title,
'thumbnail': self._og_search_thumbnail(webpage), 'thumbnail': self._og_search_thumbnail(webpage, default=None),
'duration': duration, 'duration': duration,
'formats': formats, 'formats': formats,
} }