import requests proxies = { "http": None, "https": None, } requests.get("http://example.org", proxies=proxies)