[vrv] Don't raise error when thumbnails are missing

Closes #983
pull/987/head
pukkandan 3 years ago
parent dbf7eca917
commit f7590d4764
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -218,7 +218,7 @@ class VRVIE(VRVBaseIE):
})
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…
Cancel
Save