diff options
author | cant-think-of-a-name <ar513161@gmail.com> | 2016-06-30 20:19:17 -0500 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-07-02 01:29:11 +0700 |
commit | 347227237b5a101c3bed260f8efbdbfe65c5f196 (patch) | |
tree | 1e4a36977ceb7a6f180d3f9213fb5b512c074502 /youtube_dl/extractor | |
parent | 564dc3c6e8ad235160cfea01e41fc01fefc39be8 (diff) |
[periscope] fix playlist extraction (#9967)
The JSON response changed and the extractor needed to be updated in order to gather the video IDs.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/periscope.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/periscope.py b/youtube_dl/extractor/periscope.py index c23b314e7..34e0d3d30 100644 --- a/youtube_dl/extractor/periscope.py +++ b/youtube_dl/extractor/periscope.py @@ -122,7 +122,7 @@ class PeriscopeUserIE(InfoExtractor): entries = [ self.url_result( - 'https://www.periscope.tv/%s/%s' % (user_id, broadcast['id'])) - for broadcast in data_store.get('UserBroadcastHistory', {}).get('broadcasts', [])] + 'https://www.periscope.tv/%s/%s' % (user_id, broadcast)) + for broadcast in data_store.get('UserBroadcastHistory', {}).get('broadcastIds', [])] return self.playlist_result(entries, user_id, title, description) |