|
60精币
一个访问 开启httpdebug抓包软件 就能访问成功 返回状态码200 不开状态码返回403 这是什么问题?是证书的原因吗 麻烦大佬解决一下 谢谢! 变量名 | 类 型 | 静态 | 数组 | 备 注 | 状态码 | 整数型 | | | http | WinHttpR | | |
http. Open (“GET”, “https://auctions.ihg.com/”)http. SetRequestHeader (“Connection”, “Keep-Alive”)http. SetRequestHeader (“Accept”, “text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9”)http. SetRequestHeader (“Accept-Language”, “zh-CN,zh;q=0.9”)http. SetRequestHeader (“Host”, “auctions.ihg.com”)http. SetRequestHeader (“User-Agent”, “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36”)http. SetRequestHeader (“Upgrade-Insecure-Requests”, “1”)http. SetRequestHeader (“Sec-Fetch-Site”, “none”)http. SetRequestHeader (“Sec-Fetch-Mode”, “navigate”)http. SetRequestHeader (“Sec-Fetch-Dest”, “document”)http. SetRequestHeader (“Accept-Encoding”, “gzip, deflate”)http. Send ()状态码 = http. GetStatus ()调试输出 (状态码 )
|
|