Browse Source

[soundcloud] check if the soundtrack has downloads left(closes #23045)

master
Remita Amine 5 years ago
parent
commit
2e9ad59a4d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/soundcloud.py

+ 1
- 1
youtube_dl/extractor/soundcloud.py View File

@ -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)


Loading…
Cancel
Save