我有一个:
<span class=" lad TABLE15 tr_rowspan1" title="Markus" id> <p class= "la TABLE15 tr_rowspan1"> == $0 "Markus" <br> </p>"
现在,我想使用Python发出发布请求,以将标题从“ Markus”更改为“ Timo”。
我尝试过:
import requests
session = requests.Session()
with requests.Session() as x:
req_dic = {"class": "la TABLE15 tr_rowspan1",
"title": "Markus"}
req = x.post("https://example.com/", data=req_dic)
``