Browse Source

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

master
Sergey M․ 7 years ago
parent
commit
33a81c2c6f
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/extractor/common.py

1
youtube_dl/extractor/common.py

@ -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:

Loading…
Cancel
Save