mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[vrv] fix thumbnails
This commit is contained in:
parent
2e27421c70
commit
4846122f7d
@ -181,7 +181,9 @@ class VRVIE(VRVBaseIE):
|
||||
})
|
||||
|
||||
thumbnails = []
|
||||
for thumbnail in video_data.get('images', {}).get('thumbnails', []):
|
||||
thumbnails_list = video_data.get('images', {}).get('thumbnail', [])
|
||||
if thumbnails_list:
|
||||
for thumbnail in thumbnails_list[0]:
|
||||
thumbnail_url = thumbnail.get('source')
|
||||
if not thumbnail_url:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user