diff options
author | vkorablin <vkorablin@gmail.com> | 2022-06-08 01:20:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 15:20:42 -0700 |
commit | 6e7c9201cdc510ba2fedf976438a748fd7da32b9 (patch) | |
tree | 6d7fb566e416a4b2bf52fffeb02e262bb97f65b6 | |
parent | bde0132e15cbac5801a5e9acb4a5445ffea423e0 (diff) | |
download | hypervideo-pre-6e7c9201cdc510ba2fedf976438a748fd7da32b9.tar.lz hypervideo-pre-6e7c9201cdc510ba2fedf976438a748fd7da32b9.tar.xz hypervideo-pre-6e7c9201cdc510ba2fedf976438a748fd7da32b9.zip |
[extractor/ccc] Extract view_count (#3939)
Authored by: vkorablin
-rw-r--r-- | yt_dlp/extractor/ccc.py | 1 |
1 files changed, 1 insertions, 0 deletions
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, } |