mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 01:51:06 +00:00
parent
dbf7eca917
commit
f7590d4764
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ def _real_extract(self, url):
|
||||||
})
|
})
|
||||||
|
|
||||||
thumbnails = []
|
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')
|
thumbnail_url = thumbnail.get('source')
|
||||||
if not thumbnail_url:
|
if not thumbnail_url:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue