Closed matze19999 closed 4 years ago
Hey,
proxies
that you pass to spotipy will be passed directly to request.Session()
, see here:
See if structuring your proxies
as showed in the following references helps:
It is likely going to look like:
proxies = {
“http”: “http://10.10.10.10:8000”,
“https”: “http://10.10.10.10:8000”
}
spotipy.Spotify(auth_manager=spotipy.SpotifyOAuth(),
proxies=proxies)
Please let us know how it goes and we can then improve the docs
Thanks, this worked like a charm!
Maybe you can add this code example to the folder examples on GitHub or add a code snipped on the readthedocs page :)
Hey guys,
I read the documentation, but I haven't found a tutorial on how to use a proxy... Can someone please help me or write some short lines on how to get spotipy to use a proxy?
Thank you!!