mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
parent
dbf7eca917
commit
f7590d4764
@ -218,7 +218,7 @@ def _real_extract(self, url):
|
||||
})
|
||||
|
||||
thumbnails = []
|
||||
for thumbnail in traverse_obj(video_data, ('images', 'thumbnail', ..., ...)):
|
||||
for thumbnail in traverse_obj(video_data, ('images', 'thumbnail', ..., ...)) or []:
|
||||
thumbnail_url = thumbnail.get('source')
|
||||
if not thumbnail_url:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user