1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01: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 @@ def _real_extract(self, url):
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',