1import requests
2
3proxies = { "http": "http://10.10.10.10:8000",
4 "https": "https://10.10.10.10:8000"
5}
6r = requests.get("http://toscrape.com", proxies=proxies)
7
1from proxy_requests import ProxyRequests
2
3r = ProxyRequests('url here')
4r.set_headers({'name': 'rootVIII', 'secret_message': '7Yufs9KIfj33d'})
5r.post_with_headers({'key1': 'value1', 'key2': 'value2'})