From 6e7c9201cdc510ba2fedf976438a748fd7da32b9 Mon Sep 17 00:00:00 2001 From: vkorablin Date: Wed, 8 Jun 2022 01:20:42 +0300 Subject: [PATCH] [extractor/ccc] Extract view_count (#3939) Authored by: vkorablin --- yt_dlp/extractor/ccc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/ccc.py b/yt_dlp/extractor/ccc.py index b11e1f74e..1bc0f07f2 100644 --- a/yt_dlp/extractor/ccc.py +++ b/yt_dlp/extractor/ccc.py @@ -75,6 +75,7 @@ class CCCIE(InfoExtractor): 'thumbnail': event_data.get('thumb_url'), 'timestamp': parse_iso8601(event_data.get('date')), 'duration': int_or_none(event_data.get('length')), + 'view_count': int_or_none(event_data.get('view_count')), 'tags': event_data.get('tags'), 'formats': formats, }