mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 04:35:52 +01:00
[extractor/common] Extract view count from JSON-LD
This commit is contained in:
parent
deef31955b
commit
33a81c2c6f
@ -990,6 +990,7 @@ def extract_video_object(e):
|
||||
'tbr': int_or_none(e.get('bitrate')),
|
||||
'width': int_or_none(e.get('width')),
|
||||
'height': int_or_none(e.get('height')),
|
||||
'view_count': int_or_none(e.get('interactionCount')),
|
||||
})
|
||||
|
||||
for e in json_ld:
|
||||
|
Loading…
Reference in New Issue
Block a user