mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[soundcloud] check if the soundtrack has downloads left(closes #23045)
This commit is contained in:
@@ -276,7 +276,7 @@ def _extract_info_dict(self, info, full_title=None, secret_token=None, version=2
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user