mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #449] [help] Don't know how to use proxy #264
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @matze19999 on GitHub (Mar 7, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/449
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!!
@stephanebruckert commented on GitHub (Mar 7, 2020):
Hey,
proxiesthat you pass to spotipy will be passed directly torequest.Session(), see here:github.com/plamere/spotipy@13109c1613/spotipy/client.py (L150)See if structuring your
proxiesas showed in the following references helps:It is likely going to look like:
Please let us know how it goes and we can then improve the docs
@matze19999 commented on GitHub (Mar 7, 2020):
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 :)