1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 10:06:45 +00: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,
} }