mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 18:34:32 +01:00
[vrv] fix thumbnails
This commit is contained in:
parent
2e27421c70
commit
4846122f7d
@ -181,7 +181,9 @@ class VRVIE(VRVBaseIE):
|
|||||||
})
|
})
|
||||||
|
|
||||||
thumbnails = []
|
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')
|
thumbnail_url = thumbnail.get('source')
|
||||||
if not thumbnail_url:
|
if not thumbnail_url:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user