projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
678e436
)
[soundcloud:set] Defer download link resolve (Closes #6354)
author
Sergey M․
<dstftw@gmail.com>
Sat, 25 Jul 2015 09:47:53 +0000
(15:47 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 25 Jul 2015 09:47:53 +0000
(15:47 +0600)
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index 118ca483265cfda0a4419d93e8ce2fd174148be4..cdee8e2a3aff0caa55d439b632b5a2539c959b00 100644
(file)
--- 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'],
}