[extractor/ccc] Extract view_count (#3939)

Authored by: vkorablin
This commit is contained in:
vkorablin 2022-06-08 01:20:42 +03:00 committed by GitHub
parent bde0132e15
commit 6e7c9201cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}