看到这个就直接上python吧,用eval计算子式

BUGKU------秋名山老司机_python

import requests
from bs4 import BeautifulSoup
r = requests.session()
s = r.get('http://123.206.87.240:8002/qiumingshan/')
soup = BeautifulSoup(s.text, "html.parser")
a = soup.find('div')
d = {
"value": eval(a.text[:-3])
}
res = r.post("http://123.206.87.240:8002/qiumingshan/", data=d)
print(res.text)