[periscope:user] Fix extraction (Closes #10820)

This commit is contained in:
Sergey M․ 2016-10-01 22:50:47 +07:00
parent 53a7e3d287
commit e1e97c2446
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -132,7 +132,7 @@ class PeriscopeUserIE(PeriscopeBaseIE):
user = list(data_store['UserCache']['users'].values())[0]['user']
user_id = user['id']
session_id = data_store['SessionToken']['broadcastHistory']['token']['session_id']
session_id = data_store['SessionToken']['public']['broadcastHistory']['token']['session_id']
broadcasts = self._call_api(
'getUserBroadcastsPublic',