aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-10-01 22:50:47 +0700
committerSergey M․ <dstftw@gmail.com>2016-10-01 22:50:47 +0700
commite1e97c2446ab6fcffcfae738e0c7f29ff58a9dec (patch)
tree956e11471acc487f0b8b93bbd6803a8c252a8210
parent53a7e3d2879feac7b1b6f714692581057b9b5f6b (diff)
[periscope:user] Fix extraction (Closes #10820)
-rw-r--r--youtube_dl/extractor/periscope.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/periscope.py b/youtube_dl/extractor/periscope.py
index 61043cad5..0e3623024 100644
--- a/youtube_dl/extractor/periscope.py
+++ b/youtube_dl/extractor/periscope.py
@@ -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',