小结: 像这种垃圾网站,可以利用Fiddler 抓包,jmeter或postman进行请求,再利用python requests写成代码形式练习。。。
# 获取积分首页 # import requests # while True: # url = 'https://vvip.maixcj.com/' # res = requests.get(url=url,verify=False) # print(res.status_code) # 获取订单界面 # import requests # while True: # url = 'https://vvip.maixcj.com/order/pay.asp?' # data = { # 'order_no': '20211212133829579', # 'mob': '13610309429', # 'nowurl': 'https://vvip.maixcj.com/L008.htm' # } # res = requests.get(url=url, params=data, verify=False) # print(res.text) # 查看我的订单 # import requests # while True: # url = 'https://vvip.maixcj.com/app/checkorder/index.asp' # data = { # 'tel':13610309429 # } # res = requests.post(url=url, data=data, verify=False) # print(res.text) # 联系客服 # import requests # while True: # url = 'https://www14c1.53kf.com/webCompany.php?' # data = { # "arg":10246952, # "style": 1, # "kf_sign":'TI5MjMTYzOg3OTExNzk3MzQ0MTcwMDAyNzIyNDY5NTI%3D' # } # res = requests.get(url=url, params=data, verify=True) # print(res.text)PS:仅供学习用途,虚假网站请勿上当受骗
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)