1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 00:07:49 +00:00

[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 = list(data_store['UserCache']['users'].values())[0]['user']
user_id = user['id'] 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( broadcasts = self._call_api(
'getUserBroadcastsPublic', 'getUserBroadcastsPublic',