Demand background
Some reptiles do the time or analog requests, the requests using python is more convenient, but sometimes want to look at their own request packet structure is what, you need to set up a proxy for requests.
Code Cases
import requests
proxies = {'http': 'http://localhost:8080', 'https': 'http://localhost:8080'}
r = requests.get('https://www.douban.com/', proxies=proxies, verify=False)
print(r.status_code)
burp set
To intercept the data.