1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 04:02:11 +00:00

[periscope] fix playlist extraction (#9967)

The JSON response changed and the extractor needed to be updated in order to gather the video IDs.
This commit is contained in:
cant-think-of-a-name 2016-06-30 20:19:17 -05:00 committed by Sergey M․
parent 564dc3c6e8
commit 347227237b
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -122,7 +122,7 @@ class PeriscopeUserIE(InfoExtractor):
entries = [ entries = [
self.url_result( self.url_result(
'https://www.periscope.tv/%s/%s' % (user_id, broadcast['id'])) 'https://www.periscope.tv/%s/%s' % (user_id, broadcast))
for broadcast in data_store.get('UserBroadcastHistory', {}).get('broadcasts', [])] for broadcast in data_store.get('UserBroadcastHistory', {}).get('broadcastIds', [])]
return self.playlist_result(entries, user_id, title, description) return self.playlist_result(entries, user_id, title, description)