mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05: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:
parent
564dc3c6e8
commit
347227237b
1 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ def _real_extract(self, url):
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue