mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 01:25:06 +00:00
[mpora] Fix uploader name extraction
This commit is contained in:
parent
26dca1661e
commit
b78d180170
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
data = json.loads(data_json)
|
data = json.loads(data_json)
|
||||||
|
|
||||||
uploader = data['info_overlay']['name']
|
uploader = data['info_overlay'].get('username')
|
||||||
duration = data['video']['duration'] // 1000
|
duration = data['video']['duration'] // 1000
|
||||||
thumbnail = data['video']['encodings']['sd']['poster']
|
thumbnail = data['video']['encodings']['sd']['poster']
|
||||||
title = data['info_overlay']['title']
|
title = data['info_overlay']['title']
|
||||||
|
|
Loading…
Reference in a new issue