demo_requests_get_proxies.py:
import requests url = 'https://w3schools.com/python/demopage.php' #find a free proxy address and send your request via that proxy: x = requests.get(url, proxies = { "https" : "https://1.1.0.1:80"}) #'demopage.php' will print the ip address of the proxy instead of your ip: print(x.text)
C:\Users\My Name>python demo_requests_get_proxies.py
Ip address: 1.1.0.1