概述 curlpythondata-urlencode转为列表内元组,作为params发送curl --location 'https://xxxxx' --header 'cookie: t=xxx' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'a=1' --data-urlencode 'b=2' params = [('a', '1'),('b', '2')]res = requests.post(url, params=list(eval(params), headers=he...