在做一个取号脚本,验证码类型是 n+n 的计算题,n 的范围 0~9,查了下源代码是前端 js 生成得, 尝试过绕过 js 直接提交数据,但是返回结果不对,检查了请求头,也没找到和验证码相关的数据
Accept:/ Accept-Encoding:gzip, deflate Accept-Language:zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7 Connection:keep-alive Content-Length:0 Cookie:Hm_lvt_c983052c3eaf489adecab8e3595d288d=1561651854; Hm_lvt_6142871b6b140770e2a9d88ba5b0131e=1561651902 Host:hn.topsports.com.cn Origin:http://hn.topsports.com.cn Referer:http://hn.topsports.com.cn/asdf123zxc/phone/qh_xin.html?area_code=HN User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 X-Requested-With:XMLHttpRequest
谢谢各位大神~