projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec676b
)
[soundcloud:user] Defer download link resolve (Closes #5248)
author
Sergey M․
<dstftw@gmail.com>
Thu, 14 May 2015 16:28:42 +0000
(22:28 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 14 May 2015 16:28:42 +0000
(22:28 +0600)
Looks like final download links can expire before downloading process reach them. So, resolving download links right before actual downloading.
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index 183ff50f4fc2b15a2ca99704e9277b8c68abd576..c23c5ee0fb853f86e4662ad574b587610456159c 100644
(file)
--- 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',