1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[extractor/common] Extract view count from JSON-LD

This commit is contained in:
Sergey M․ 2017-04-30 21:11:55 +07:00
parent deef31955b
commit 33a81c2c6f
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -990,6 +990,7 @@ class InfoExtractor(object):
'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: