mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-09 14:11:55 -04:00
Fix SoundCloud index error #270
This commit is contained in:
parent
237e0a232a
commit
fbeebf5f97
1 changed files with 1 additions and 1 deletions
|
@ -1189,7 +1189,7 @@ class SoundCloudClient(Client):
|
|||
raise Exception
|
||||
|
||||
if track["downloadable"] and track["has_downloads_left"]:
|
||||
r = self._get(f"tracks/{track['id']}/download")[0]
|
||||
r = self._get(f"tracks/{track['id']}/download").json()
|
||||
return {"url": r["redirectUri"], "type": "original"}
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue