mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[soundcloud] check if the soundtrack has downloads left(closes #23045)
This commit is contained in:
parent
433e071058
commit
2e9ad59a4d
|
@ -276,7 +276,7 @@ class SoundcloudIE(InfoExtractor):
|
||||||
if secret_token:
|
if secret_token:
|
||||||
query['secret_token'] = 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(
|
format_url = update_url_query(
|
||||||
info.get('download_url') or track_base_url + '/download', query)
|
info.get('download_url') or track_base_url + '/download', query)
|
||||||
format_urls.add(format_url)
|
format_urls.add(format_url)
|
||||||
|
|
Loading…
Reference in a new issue