When I use requests to make a post request, how do I use this payload? I know how to construct
form-data data from
data data.
import requests
import json
url='http://tx3.cbg.163.com/cgi-bin/equipquery.py?act=show_overall_search'
html = requests.post(url,data=data)
According to the two answers above, the data has been successfully crawled out after modification
Change the request payload data into dict and pass it to data
Check the documentation often!
http://docs.python-requests.o...