From c3896d0178739930842548de66c89168b4e2d5a5 Mon Sep 17 00:00:00 2001 From: voidptr_t Date: Sun, 4 Aug 2024 19:39:33 +0300 Subject: [PATCH] thumbnail --- yt_dlp/extractor/plvideo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/plvideo.py b/yt_dlp/extractor/plvideo.py index 30f8db6acb..01d2aebf30 100644 --- a/yt_dlp/extractor/plvideo.py +++ b/yt_dlp/extractor/plvideo.py @@ -34,7 +34,6 @@ def _real_extract(self, url): 'url': hlsurl, 'ext': 'mp4', 'quality': 0 if len(formats) == 0 else 0 - len(formats), - 'thumbnail': thumbnail, 'format_id': key, 'protocol': 'm3u8_native', } @@ -45,4 +44,5 @@ def _real_extract(self, url): 'id': video_id, 'title': item.get('title'), 'formats': formats, + 'thumbnails': [{'url': thumbnail}], }