From 31825563c7cf9a12a13446d35a2df884eaa499ba Mon Sep 17 00:00:00 2001 From: cens0r <74016750+cens0r@users.noreply.github.com> Date: Mon, 18 Apr 2022 19:50:27 +0200 Subject: [PATCH] minor fixes --- youtube_dl/extractor/camwhoresbay.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/youtube_dl/extractor/camwhoresbay.py b/youtube_dl/extractor/camwhoresbay.py index c158a7bfd..2c00e4b2e 100644 --- a/youtube_dl/extractor/camwhoresbay.py +++ b/youtube_dl/extractor/camwhoresbay.py @@ -31,7 +31,6 @@ class CamWhoresBayVideoIE(InfoExtractor): # 'url': r're:https://www\.camwhoresbay\.com/get_file/7/55259a27805bf1313318c14b2afb0dae1fef6e1dd4/484000/484472/484472_720p\.mp4/\?rnd=.+', # 'height': 720 # }] - 'thumbnail': 'https://cwbstatic.cdntrex.com/contents/videos_screenshots/484000/484472/preview.mp4.jpg', 'thumbnails': [{ 'url': 'https://cwbstatic.cdntrex.com/contents/videos_screenshots/484000/484472/preview.mp4.jpg', 'height': 360 @@ -93,9 +92,8 @@ class CamWhoresBayVideoIE(InfoExtractor): 'id': video_id, 'title': title, 'uploader': uploader, - 'url': formats[0]['url'], + 'url': formats[0].get('url'), 'formats': formats, - 'thumbnail': thumbnails[0]['url'], 'thumbnails': thumbnails, }