|
使用httpget 方法访问智联的招聘页面,第一次get返回的是一堆乱码,然后手动打开一次,再访问返回来的数据就是正常的?但是第二次有cookie我在页面找不到。。。
1.这是第一次get-------------------------------------------------------------------------------------------------------------------------
response:
Transfer-Encoding: chunked
Connection: keep-alive
Content-Encoding:
Pragma: no-cache
X-Via: 1.1 pingwangtong46:0 (Cdn Cache Server V2.0), 1.1 PShbcdwt4ko38:11 (Cdn Cache Server V2.0)
Cache-Control: no-cache, no-store
Content-Type: text/html; charset=utf-8
Date: Thu, 17 Oct 2019 05:11:48 GMT
Set-Cookie: acw_tc=3ccdc15815712891086577748e32f1e83413c2db3e0dcb1d80a887324d88a7;
path=/;HttpOnly;Max-Age=2678401
Server: Tengine
2.这是第二次get(手动打开过一次)-------------------------------------------------------------------------------------------------------------------------
GET /CC281596583J90250406000.html HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
X-HttpWatch-RID: 6059-10017
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Accept-Encoding: gzip, deflate
Host: jobs.zhaopin.com
Connection: Keep-Alive
Cookie: acw_tc=3ccdc15815712892884808933e32f1ee47a90cdabab95f0d50d43de677c265; acw_sc__v2=5da7f8c831c1fe505ebd89909df29918c10d28eb
这是我访问的网址:http://jobs.zhaopin.com/CC281596583J90250511000.htm,还请大家帮忙看一下!谢谢!!
|
|