diff options
author | Aleri Kaisattera <73682764+alerikaisattera@users.noreply.github.com> | 2022-01-22 03:32:25 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 03:02:25 +0530 |
commit | e600a5c90817f4caac221679f6639211bba1f3a2 (patch) | |
tree | ff1a771f5945ba86ecb92aa8bbe6b654029e4161 | |
parent | 50ce204cc2aa29a1a267d70a0c44a63f976809db (diff) |
[CAM4] Add thumbnail extraction (#2425)
Authored by: alerikaisattera
-rw-r--r-- | yt_dlp/extractor/cam4.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/extractor/cam4.py b/yt_dlp/extractor/cam4.py index f47de9176..2a3931fd0 100644 --- a/yt_dlp/extractor/cam4.py +++ b/yt_dlp/extractor/cam4.py @@ -13,6 +13,8 @@ class CAM4IE(InfoExtractor): 'ext': 'mp4', 'title': 're:^foxynesss [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$', 'age_limit': 18, + 'live_status': 'is_live', + 'thumbnail': 'https://snapshots.xcdnpro.com/thumbnails/foxynesss', } } @@ -29,4 +31,5 @@ class CAM4IE(InfoExtractor): 'is_live': True, 'age_limit': 18, 'formats': formats, + 'thumbnail': f'https://snapshots.xcdnpro.com/thumbnails/{channel_id}', } |