[soundcloud:user] Defer download link resolve (Closes #5248)

Looks like final download links can expire before downloading process reach them. So, resolving download links right before actual downloading.
pull/8/head
Sergey M․ 10 years ago
parent 7ec676bb3d
commit 1ae72fb23d

@ -336,7 +336,7 @@ class SoundcloudUserIE(SoundcloudIE):
if len(new_entries) == 0: if len(new_entries) == 0:
self.to_screen('%s: End page received' % uploader) self.to_screen('%s: End page received' % uploader)
break break
entries.extend(self._extract_info_dict(e, quiet=True) for e in new_entries) entries.extend(self.url_result(e['permalink_url'], 'Soundcloud') for e in new_entries)
return { return {
'_type': 'playlist', '_type': 'playlist',

Loading…
Cancel
Save