0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[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 @@ def _real_extract(self, url):
'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,
}