[bambuser] Fix 'uploader_id' extraction (fixes #4944)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 13 Feb 2015 10:36:33 +0000 (11:36 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 13 Feb 2015 10:36:33 +0000 (11:36 +0100)
youtube_dl/extractor/bambuser.py

index 98e1443ab0c3d380737f34be2c67fa760e08a221..c193e66cad7275cffb6ee96e051d567b9262e773 100644 (file)
@@ -50,7 +50,7 @@ class BambuserIE(InfoExtractor):
             'duration': int(info['length']),
             'view_count': int(info['views_total']),
             'uploader': info['username'],
-            'uploader_id': info['uid'],
+            'uploader_id': info['owner']['uid'],
         }