写一个python脚本,由于初学只能白嫖大佬的了~~~https://blog.csdn.net/STARSG0d/article/details/92683276
1 import requests 2 import re 3 s = requests.Session() 4 r = s.get("http://123.206.87.240:8002/qiumingshan/") 5 searchObj = re.search(r‘(\d+[+\-*])+(\d+)‘, r.text) 6 d = { 7 "value": eval(searchObj.group(0)) 8 } 9 r = s.post("http://123.206.87.240:8002/qiumingshan/", data=d) 10 print(r.text)
运行结果:
原文地址:https://www.cnblogs.com/tqqnb/p/12119195.html
时间: 2024-11-02 00:49:15