you can apply proxy settings to python requests like this:

import requests


proxy_dict={
    "http": "http://1.1.1.1:8080",
    "https": "https://1.1.1.1:8080"
}

resp = requests.get(some_url, proxies=proxy_dict)
Categories: python

0 Comments

Leave a Reply

Your email address will not be published.