aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorcant-think-of-a-name <ar513161@gmail.com>2016-06-30 20:19:17 -0500
committerSergey M․ <dstftw@gmail.com>2016-07-02 01:29:11 +0700
commit347227237b5a101c3bed260f8efbdbfe65c5f196 (patch)
tree1e4a36977ceb7a6f180d3f9213fb5b512c074502 /youtube_dl
parent564dc3c6e8ad235160cfea01e41fc01fefc39be8 (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')
-rw-r--r--youtube_dl/extractor/periscope.py4
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)