1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-09 07:42:57 +08:00

fix for null "ie_key" value for soundcloud when dumping as json

This commit is contained in:
Nick Ufer 2018-03-29 18:47:53 +02:00
parent 02f6ccbce3
commit de9a411c95

View File

@ -400,7 +400,7 @@ class SoundcloudPagedPlaylistBaseIE(SoundcloudPlaylistBaseIE):
for e in collection:
permalink_url, entry_id = resolve_permalink_url((e, e.get('track'), e.get('playlist')))
if permalink_url:
entries.append(self.url_result(permalink_url, video_id=entry_id))
entries.append(self.url_result(permalink_url, self.ie_key(), entry_id))
next_href = response.get('next_href')
if not next_href: