[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.
This commit is contained in:
Sergey M․ 2015-05-14 22:28:42 +06:00
parent 7ec676bb3d
commit 1ae72fb23d

View File

@ -336,7 +336,7 @@ def _real_extract(self, url):
if len(new_entries) == 0:
self.to_screen('%s: End page received' % uploader)
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 {
'_type': 'playlist',