Browse Source

[soundcloud:set] Defer download link resolve (Closes #6354)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
b14fa8e687
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      youtube_dl/extractor/soundcloud.py

+ 3
- 1
youtube_dl/extractor/soundcloud.py View File

@ -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'],
}


Loading…
Cancel
Save