Answers for "python add proxy"

10

python requests get proxy

import requests

proxies = { "http": "http://10.10.10.10:8000",
           "https": "https://10.10.10.10:8000"
}
r = requests.get("http://toscrape.com", proxies=proxies)
Posted by: Guest on March-06-2020
1

pip proxy settings

pip install --proxy=https://[username:password@]proxyserver:port somepackage
Posted by: Guest on January-26-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language