我正在尝试从网站上删除帖子回复。
我要从中抓取数据的网站是www.editapromo.com
导入请求
with requests.Session() as c:
url = 'http://www.editapromo.com/'
e = c.get(url)
payload = {'Code': '114877842251', 'Mobile': '01012586368'}
r = c.post(url, data=payload)
print(r.content)
它有2个输入,当我发送数据时,我应该收到这样的响应
“我从Google解析中得到了回复”
{"$id":"1","AutosubscribeResult":null,"ErrorCode":2,"ErrorMessage":"Wrong coupon number","OfferNumber":"","OfferPoints":0,"WalletBalance":0}
但是我没有收到类似的东西