English Deutsch

Proxy usage

Using a proxy is done by setting the environment variable https_proxy.

Either directly in Python:
import os
os.environ['https_proxy'] = 'proxy.example.com'
or Linux/Mac:
export https_proxy=proxy.example.com
or Windows:
set https_proxy=proxy.example.com