Closed git-GeekNerd closed 5 days ago
Just set proxy before running spotDL , only http proxy is supported.
Windows:
set http_proxy=http://127.0.0.1:8000
spotDL https://open.spotify.com/playlist/20qc2TEShaQKMutv8qb1gf
Linux :
export https_proxy=http://127.0.0.1:8000
spotDL https://open.spotify.com/playlist/20qc2TEShaQKMutv8qb1gf
Linux single line :
https_proxy=http://127.0.0.1:8000 spotDL https://open.spotify.com/playlist/20qc2TEShaQKMutv8qb1gf
Like @kingofnull said use env variables for proxy.
https://requests.readthedocs.io/en/latest/user/advanced/#proxies
Better proxy support maybe in the future
Requested Feature
Hi! I’d like to suggest adding an option to use proxy servers within SpotDL.
Problem
I am located in a country that faces regional restrictions on Spotify, and because of this, I receive the following error when trying to access Spotify:
To bypass this restriction, I have to use a proxy server. However, SpotDL currently doesn't offer an option to set up a proxy, making it impossible to use the app from countries like mine.
Possible Implementation