[vrv] Fix thumbnail extraction (#634)

Authored by: funniray
pull/635/head
funniray 3 years ago committed by GitHub
parent 124bc071ee
commit 7bb6434767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,6 +19,7 @@ from ..utils import (
ExtractorError,
float_or_none,
int_or_none,
traverse_obj,
)
@ -217,7 +218,7 @@ class VRVIE(VRVBaseIE):
})
thumbnails = []
for thumbnail in video_data.get('images', {}).get('thumbnails', []):
for thumbnail in traverse_obj(video_data, ('images', 'thumbnail', ..., ...)):
thumbnail_url = thumbnail.get('source')
if not thumbnail_url:
continue

Loading…
Cancel
Save