youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 347227237b5a101c3bed260f8efbdbfe65c5f196
parent 564dc3c6e8ad235160cfea01e41fc01fefc39be8
Author: cant-think-of-a-name <ar513161@gmail.com>
Date:   Thu, 30 Jun 2016 20:19:17 -0500

[periscope] fix playlist extraction (#9967)

The JSON response changed and the extractor needed to be updated in order to gather the video IDs.
Diffstat:
Myoutube_dl/extractor/periscope.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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)