Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to use proxies from DB? #39

Open
fparareda opened this issue Apr 26, 2020 · 1 comment
Open

Possibility to use proxies from DB? #39

fparareda opened this issue Apr 26, 2020 · 1 comment

Comments

@fparareda
Copy link

Hello, I would like to ask you if you have a way to connect your marvelous middleware with a DB (sql or no-sql). Do you think that it is possible and useful?

Thank you in advance

@StasDeep
Copy link
Contributor

StasDeep commented Jun 7, 2020

You can get proxies from wherever you want, like this:

def get_proxy_list():
    # Request your DB here
    return proxy_list

ROTATING_PROXY_LIST = get_proxy_list()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants