aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-25 15:47:53 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-25 15:47:53 +0600
commitb14fa8e6874818a3f210b2a67cf53345000defdd (patch)
treebb4b530d4f66f509c8f74118add6ab2ecbdd6eb4
parent678e436f2e77f1ae3a57c4b5d1fc3d74342ab412 (diff)
[soundcloud:set] Defer download link resolve (Closes #6354)
-rw-r--r--youtube_dl/extractor/soundcloud.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py
index 118ca4832..cdee8e2a3 100644
--- a/youtube_dl/extractor/soundcloud.py
+++ b/youtube_dl/extractor/soundcloud.py
@@ -282,9 +282,11 @@ class SoundcloudSetIE(SoundcloudIE):
msgs = (compat_str(err['error_message']) for err in info['errors'])
raise ExtractorError('unable to download video webpage: %s' % ','.join(msgs))
+ entries = [self.url_result(track['permalink_url'], 'Soundcloud') for track in info['tracks']]
+
return {
'_type': 'playlist',
- 'entries': [self._extract_info_dict(track, secret_token=token) for track in info['tracks']],
+ 'entries': entries,
'id': '%s' % info['id'],
'title': info['title'],
}