]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[soundcloud:playlist] Defer download link resolve
authorSergey M․ <dstftw@gmail.com>
Sat, 25 Jul 2015 09:48:44 +0000 (15:48 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 25 Jul 2015 09:48:44 +0000 (15:48 +0600)
youtube_dl/extractor/soundcloud.py

index cdee8e2a3aff0caa55d439b632b5a2539c959b00..0a6c9fe727895b00c8830b2b3568d62f973541a7 100644 (file)
@@ -381,9 +381,7 @@ class SoundcloudPlaylistIE(SoundcloudIE):
         data = self._download_json(
             base_url + data, playlist_id, 'Downloading playlist')
 
-        entries = [
-            self._extract_info_dict(t, quiet=True, secret_token=token)
-            for t in data['tracks']]
+        entries = [self.url_result(track['permalink_url'], 'Soundcloud') for track in data['tracks']]
 
         return {
             '_type': 'playlist',