Fix SoundCloud index error #270

This commit is contained in:
Nathan Thomas 2022-01-14 19:02:37 -08:00
parent 237e0a232a
commit fbeebf5f97
1 changed files with 1 additions and 1 deletions

View File

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