mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-18 17:25:22 -04:00
Dynamically find soundcloud client ID
This commit is contained in:
parent
61079a6c7b
commit
1f3b24e5b7
3 changed files with 76 additions and 38 deletions
|
@ -188,7 +188,11 @@ class Config:
|
|||
if source == "deezer":
|
||||
return {"arl": self.file["deezer"]["arl"]}
|
||||
if source == "soundcloud":
|
||||
return {}
|
||||
soundcloud = self.file["soundcloud"]
|
||||
return {
|
||||
"client_id": soundcloud["client_id"],
|
||||
"app_version": soundcloud["app_version"],
|
||||
}
|
||||
|
||||
raise InvalidSourceError(source)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue