option to use proxy for api requests

This commit is contained in:
Laptop
2025-12-12 20:47:46 +02:00
parent 9a32e56088
commit 1a3b133c6d
6 changed files with 115 additions and 40 deletions

View File

@@ -120,6 +120,7 @@ Some notes:
| ClientID | CLIENT_ID | (empty) | Authorization token for requests to SoundCloud. It's automatically extracted from the current version of the website, but you can override it if there are issues |
| DNSCacheTTL | DNS_CACHE_TTL | 60 minutes | Time until DNS cache expires |
| EnableAPI | ENABLE_API | false | Should [API](API.md) be enabled? |
| SoundcloudApiProxy | SOUNDCLOUD_API_PROXY | "" | SOCKS5 or HTTP proxy to use when dialing soundcloud api's |
| Network | NETWORK | tcp4 | Network to listen on. Can be tcp4, tcp6 or unix |
| Addr | ADDR | :4664 | Address and port (or socket path) for soundcloak to listen on |
| UnixSocketPerms | UNIX_SOCKET_PERMS | 0775 | Permissions for unix socket (Network must be set to unix) |
@@ -136,6 +137,8 @@ Some notes:
### Status code 403/429
Your IP address did too many requests to SoundCloud and got blocked for a bit of time.
*I'm not sure, but it seems like soundcloud banned ips of some public instances :P, you can now set a proxy to try and bypass it*
### script/version/clientid not found
soundcloak failed to extract the ClientID token from SoundCloud.
This may happen due to your due to changes made by SoundCloud, or IP getting blocked.