From: Sergey M․ Date: Thu, 14 May 2015 16:28:42 +0000 (+0600) Subject: [soundcloud:user] Defer download link resolve (Closes #5248) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1ae72fb23df709687091133602fd715ab6cb7b2b;p=youtube-dl [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. --- diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index 183ff50f4..c23c5ee0f 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -336,7 +336,7 @@ class SoundcloudUserIE(SoundcloudIE): 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',