aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-17 03:59:42 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-17 03:59:42 +0100
commitb78d1801707b0509cf5aecf8fd2ab427f444074b (patch)
tree5dbabada48ed6250eea58320059a4a0db35bdbea
parent26dca1661ebb43af53c785b69eddcdec9ac120d1 (diff)
[mpora] Fix uploader name extraction
-rw-r--r--youtube_dl/extractor/mpora.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mpora.py b/youtube_dl/extractor/mpora.py
index 0836243ea..6a8e2cc44 100644
--- a/youtube_dl/extractor/mpora.py
+++ b/youtube_dl/extractor/mpora.py
@@ -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']