From f7590d47641cedbf630b909aa8f53930c4a9ce5c Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 16 Sep 2021 00:31:22 +0530 Subject: [PATCH] [vrv] Don't raise error when thumbnails are missing Closes #983 --- yt_dlp/extractor/vrv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/vrv.py b/yt_dlp/extractor/vrv.py index 44f90acbd..419602148 100644 --- a/yt_dlp/extractor/vrv.py +++ b/yt_dlp/extractor/vrv.py @@ -218,7 +218,7 @@ def _real_extract(self, url): }) 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