mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[soundcloud:set] Defer download link resolve (Closes #6354)
This commit is contained in:
parent
678e436f2e
commit
b14fa8e687
@ -282,9 +282,11 @@ def _real_extract(self, url):
|
|||||||
msgs = (compat_str(err['error_message']) for err in info['errors'])
|
msgs = (compat_str(err['error_message']) for err in info['errors'])
|
||||||
raise ExtractorError('unable to download video webpage: %s' % ','.join(msgs))
|
raise ExtractorError('unable to download video webpage: %s' % ','.join(msgs))
|
||||||
|
|
||||||
|
entries = [self.url_result(track['permalink_url'], 'Soundcloud') for track in info['tracks']]
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'_type': 'playlist',
|
'_type': 'playlist',
|
||||||
'entries': [self._extract_info_dict(track, secret_token=token) for track in info['tracks']],
|
'entries': entries,
|
||||||
'id': '%s' % info['id'],
|
'id': '%s' % info['id'],
|
||||||
'title': info['title'],
|
'title': info['title'],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user