|
目的 要获取 搜索结果的 会员列表页内容 目的 是 采集会员的 un
http://www.ylike.com/SearchMember/
http://www.ylike.com/SearchMember/SearchUserList.do?sex=%C5%AE&area=%B9%E3%B6%AB&City=%C9%EE%DB%DA&age1=18&age2=35&a=SearchMember&search=+
用抓包工具 抓包 的数据
----------------------------------------------
GET /g/getSearchMemberList.do?area=%u5E7F%u4E1C&sex=%u5973&quanzi=0&havephoto=&PageNo=1&classid=1&city=%u6DF1%u5733&age1=18&age2=35&Shengao1=-1&Shengao2=-1&MarryState=&Nianxin1=-1&Nianxin2=-1&havecar=&havevideo=&isonline=&action=SearchMember&ContentMark=SearchMember HTTP/1.1
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://www.ylike.com/SearchMember/SearchUserList.do?sex=%C5%AE&area=%B9%E3%B6%AB&City=%C9%EE%DB%DA&age1=18&age2=35&a=SearchMember&search=+
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
Host: www.ylike.com
Connection: Keep-Alive
Cookie: Sky=User%5FPassword=&Sex=&User%5FClassID=0&VipCid=0&User%5FName=&User%5FID=0&Froms=%B9%E3%B6%AB%40%40%40%C9%EE%DB%DA; SkyMark=AdsMyIdFromURLto%5FCook=%2D1; ASPSESSIONIDACSTRTDA=OCDCPNNCMKDEIADOHCEAKBLH; CNZZDATA2294316=cnzz_eid%3D894345531-1366210792-http%253A%252F%252Fwww.ylike.com%26ntime%3D1366210792%26cnzz_a%3D3%26retime%3D1366210782351%26sin%3Dnone%26ltime%3D1366210782351%26rtime%3D0
----------------------
用 httphelper的 get方法 返回的 数据却是
===========================
请求 GET
地址:http://www.ylike.com/g/getSearchMemberList.do?area=%u5E7F%u4E1C&sex=%u5973&quanzi=0&havephoto=&PageNo=1&classid=1&city=%u6DF1%u5733&age1=18&age2=35&Shengao1=-1&Shengao2=-1&MarryState=&Nianxin1=-1&Nianxin2=-1&havecar=&havevideo=&isonline=&action=SearchMember&ContentMark=SearchMember
状态:200
===================================
<!-----记录结束----->
<!-----分页----->
<div class="search_page"><a href="javascript:void(0);" class="search_page_up">首 页</a> <a href="javascript:void(0);" class="search_page_up">上一页</a> <a href="javascript:void(0);" class="search_page_next">下一页</a> <a href="javascript:void(0);" class="search_page_next">末 页</a><span class="search_page01">,<span class="search_page02">1</span>/<span class="search_page02"></span> 页</span><span class="search_page03">只显示前500条记录</span><div style="clear:both;"></div></div>
<div style="clear:both;"></div>
=================
怎么回事 怎么获取不到
页面的内容呢?
|
|