http_proxy = 'http://10.10.1.10:3128'
https_proxy = 'https://10.10.1.11:1080'
ftp_proxy = 'ftp://10.10.1.10:3128'
proxyDict = {'http': http_proxy, 'https': https_proxy, 'ftp': ftp_proxy}
r = requests.get(url, headers=headers, proxies=proxyDict)
Proxies with Python 'Requests' module