1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +00:00

[extractor/common] Extract author as uploader for VideoObject in _json_ld

This commit is contained in:
Sergey M․ 2020-09-19 06:13:42 +07:00
parent 540b9f5164
commit ad06b99dd4
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -1268,6 +1268,7 @@ class InfoExtractor(object):
'thumbnail': url_or_none(e.get('thumbnailUrl') or e.get('thumbnailURL')),
'duration': parse_duration(e.get('duration')),
'timestamp': unified_timestamp(e.get('uploadDate')),
'uploader': str_or_none(e.get('author')),
'filesize': float_or_none(e.get('contentSize')),
'tbr': int_or_none(e.get('bitrate')),
'width': int_or_none(e.get('width')),