Skip to content

How do I use proxy? #167

@dexhunter

Description

@dexhunter

Hi! I am in a restricted area where poloniex flagged my ip which means I need to click reCAPTCHA in order to query. I have a VPS as proxy server. I know for requests I can add something like

    proxies = {'http': 'socks5://127.0.0.1:1080', #or socks5://<usr>:<pwd>@<addr>:<port>
                   'https': 'socks5://127.0.0.1:1080'}
    requests.get(url, proxies=proxies)

I wonder if there is any more efficient way to bypass this inconvenience? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or bug fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions