1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 00:00:43 +01:00

[mpora] Fix uploader name extraction

This commit is contained in:
Philipp Hagemeister 2014-01-17 03:59:42 +01:00
parent 26dca1661e
commit b78d180170

View File

@ -34,7 +34,7 @@ class MporaIE(InfoExtractor):
data = json.loads(data_json)
uploader = data['info_overlay']['name']
uploader = data['info_overlay'].get('username')
duration = data['video']['duration'] // 1000
thumbnail = data['video']['encodings']['sd']['poster']
title = data['info_overlay']['title']