projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
433e071
)
[soundcloud] check if the soundtrack has downloads left(closes #23045)
author
Remita Amine
<remitamine@gmail.com>
Mon, 11 Nov 2019 08:53:04 +0000
(09:53 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 11 Nov 2019 08:53:04 +0000
(09:53 +0100)
youtube_dl/extractor/soundcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/soundcloud.py
b/youtube_dl/extractor/soundcloud.py
index 875b9d887a02ddd35464525e9c7e3768e25f2217..e8ffb2cbe3f8ee5172badd203db2c5842190f5d3 100644
(file)
--- a/
youtube_dl/extractor/soundcloud.py
+++ b/
youtube_dl/extractor/soundcloud.py
@@
-276,7
+276,7
@@
class SoundcloudIE(InfoExtractor):
if secret_token:
query['secret_token'] = secret_token
- if info.get('downloadable'):
+ if info.get('downloadable')
and info.get('has_downloads_left')
:
format_url = update_url_query(
info.get('download_url') or track_base_url + '/download', query)
format_urls.add(format_url)