From: Sergey M․ Date: Sat, 1 Oct 2016 15:50:47 +0000 (+0700) Subject: [periscope:user] Fix extraction (Closes #10820) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=e1e97c2446ab6fcffcfae738e0c7f29ff58a9dec;p=youtube-dl.git [periscope:user] Fix extraction (Closes #10820) --- 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',