一、首先登陆:
因为搜索群是在网页上进行的,在QQ客户端并不支持,所以可以用网页登陆,但因为我QQ协议可以登陆,所以直接分离出出clientkey登陆,登陆地址:
http://ptlogin2.qq.com/group?ptlang=2052&clientuin=88014334&clientkey=981AF4BEB6EE850632F6CEC626436DD07F1D9D2CB67DDCA37390AFB3D10F8FD5&guin=0&type=7&keyword=深圳&catalog=0
二、开始搜索:
搜索地址为:
http://qun.qq.com/?w=a&c=index&a=sresult&cl=&cnum=0&tx=%25E5%25B9%25BF%25E4%25B8%259C%2B%25E6%25B7%25B1%25E5%259C%25B3&pg=1&st=0&c1=0&c2=0&c3=0&ecd=0&_=1281848252531
_ 1281849286546 随机数
a sresult 固定参数
c index 固定参数
c1 0 固定参数
c2 0 固定参数
c3 0 固定参数
cl 此处为搜索的分类,比如大类购物,再小类电脑,还有第二个小类,但这个参数只处理前两个分类,参数结果 购物:电脑 然后把结果url编码
cnum 0 这个不知道是什么东东,没有研究出来
ecd 0 固定参数
pg 1 第几页
st 3 排序 最相关0 最活跃4 最新建1 最多人3 最高级2
tx %E5%B9%BF%E4%B8%9C+%E6%B7%B1%E5%9C%B3 搜索关键字,如果有填写区域,则参数结果为区域加上关键字再加上面最小的一个分类,比如 广东+交友+整机 然后进行url编码
w a 固定参数
返回的结果为一个json:
{"responseHeader": {"status":"0","QTime":"20"},"response": {"numFound":"2357","currentNum":"10","currentPage":"1","results":[{"RQ":"1242278202","MD":"27153333","ID":"老乡会:黑龙江省;","XT":"0","DT":"0","TI":"曲线距离-东北-<font color=#C60A00>广东</font>","UR":"http://qun.qq.com/1.1/27153333","QQ":"290007055","TA":"","CL":"14:244;","GA":"28","GB":"","GC":"37","GD":"496","GE":"","GF":"2","GH":"27153333","GI":"","GJ":"1","EX":"","DX":"0","TX":"东北人在<font color=#C60A00>广东</font>的休闲娱乐群 欢迎广州 东莞 <font color=#C60A00>深圳</font> 珠海等朋友的加入"},{"RQ":"1240727307","MD":"24814455","ID":"游戏:电脑游戏;","XT":"0","DT":"0","TI":"【卐】 婲心皇朝","UR":"http://qun.qq.com/1.1/24814455","QQ":"116978901","TA":"","CL":"4:399;","GA":"32","GB":"","GC":"58","GD":"495","GE":"","GF":"0","GH":"24814455","GI":"","GJ":"0","EX":"","DX":"0","TX":"<font color=#C60A00>广东</font>真三总群,会聚本<font color=#C60A00>广东</font>真三高手.<font color=#C60A00>深圳</font>居多数.请申请加入时说明.想做广告者请绕道."},{"RQ":"1244014282","MD":"29849933","ID":"考试/培训:公务员;","XT":"0","DT":"0","TI":"<font color=#C60A00>深圳</font>公务员职员雇员群","UR":"http://qun.qq.com/1.1/29849933","QQ":"3368338","TA":"","CL":"9:154;","GA":"26","GB":"","GC":"32","GD":"443","GE":"","GF":"2","GH":"29849933","GI":"","GJ":"0","EX":"","DX":"0","TX":"<font color=#C60A00>深圳</font>国家公务员<font color=#C60A00>深圳广东省</font>公务<font color=#C60A00>深圳</font>公务员<font color=#C60A00>深圳</font>职员<font color=#C60A00>深圳</font>雇员考试群,公务员资料分享."},{"RQ":"1256266890","MD":"29894504","ID":"考试/培训:公务员;","XT":"0","DT":"0","TI":"<font color=#C60A00>广东</font>光华公务员考试群","UR":"http://qun.qq.com/1.1/29894504","QQ":"86006659","TA":"","CL":"9:154;","GA":"21","GB":"","GC":"22","GD":"438","GE":"","GF":"2","GH":"29894504","GI":"","GJ":"0","EX":"","DX":"0","TX":"国考,<font color=#C60A00>广东省</font>考,广州<font color=#C60A00>深圳</font>市单独招考,复习备考,资料共享,群内演练,专家指导"},{"RQ":"1245320171","MD":"52266741","ID":"老乡会:湖北省;","XT":"0","DT":"0","TI":"通城人在<font color=#C60A00>深圳</font>500人","UR":"http://qun.qq.com/1.1/52266741","QQ":"458641","TA":"","CL":"14:245;","GA":"28","GB":"","GC":"66","GD":"432","GE":"","GF":"2","GH":"52266741","GI":"","GJ":"1","EX":"","DX":"0","TX":"只加通城的老乡,而且在<font color=#C60A00>广东</font>及<font color=#C60A00>深圳</font>工作的朋友们!加入请填写镇名"},{"RQ":"1269599392","MD":"68450181","ID":"商业金融:金融专才;","XT":"0","DT":"0","TI":"中国财税交流-<font color=#C60A00>广东</font>群","UR":"http://qun.qq.com/1.1/68450181","QQ":"292790863","TA":"注册税务师","CL":"19:323;","GA":"86","GB":"","GC":"83","GD":"374","GE":"","GF":"2","GH":"68450181","GI":"","GJ":"1","EX":"","DX":"0","TX":"广州会计<font color=#C60A00>深圳</font>会计东莞会计<font color=#C60A00>广东</font>会计梅州会计事务所考试验资ipo所得税"},{"RQ":"1275529683","MD":"53228677","ID":";","XT":"0","DT":"0","TI":"<font color=#C60A00>深圳</font>货代(特)","UR":"http://qun.qq.com/1.1/53228677","QQ":"282028525","TA":"","CL":";","GA":"24","GB":"","GC":"68","GD":"371","GE":"","GF":"2","GH":"53228677","GI":"","GJ":"0","EX":"","DX":"0","TX":"本群为<font color=#C60A00>广东深圳</font>货代,港口海运出口物流,请注明公司名称.行业.优势!非货代请勿加入!"},{"RQ":"1250852258","MD":"38626655","ID":"老乡会:江西省;","XT":"0","DT":"0","TI":"进贤人在<font color=#C60A00>广东</font>(超级群)","UR":"http://qun.qq.com/1.1/38626655","QQ":"180142413","TA":"其它地区","CL":"14:240;","GA":"35","GB":"","GC":"72","GD":"300","GE":"","GF":"2","GH":"38626655","GI":"","GJ":"1","EX":"","DX":"0","TX":"验证注明是进贤哪里人!欢迎<font color=#C60A00>广东</font>(广州<font color=#C60A00>深圳</font>东莞惠州中山)的70后和80后加入!"},{"RQ":"1220149941","MD":"47849933","ID":"技术联盟:软件交流;","XT":"0","DT":"0","TI":"网维<font color=#C60A00>广东深圳</font>总部","UR":"http://qun.qq.com/1.1/47849933","QQ":"138168258","TA":"","CL":"12:187;","GA":"3","GB":"","GC":"3","GD":"226","GE":"","GF":"2","GH":"47849933","GI":"","GJ":"0","EX":"","DX":"0","TX":""},{"RQ":"1268532550","MD":"38358906","ID":"老乡会:广东省;","XT":"0","DT":"0","TI":"河源人在珠三角总部","UR":"http://qun.qq.com/1.1/38358906","QQ":"32277066","TA":"","CL":"14:247;","GA":"4","GB":"","GC":"1","GD":"221","GE":"","GF":"2","GH":"38358906","GI":"","GJ":"1","EX":"","DX":"0","TX":"<font color=#C60A00>广东省</font>河源市老乡会河源 珠海 中山 <font color=#C60A00>深圳</font> 广州 江门 东莞区域性强组织群 欢迎你的加入"}],"CorrectPin": [],"SimilarWords": []}}
群号码为:MD
创建人:QQ
这里有一个应该有一个内部群号,因为还没手抓包,后面再补上,但 我猜是RQ
到此结束,以此留档
因为搜索群是在网页上进行的,在QQ客户端并不支持,所以可以用网页登陆,但因为我QQ协议可以登陆,所以直接分离出出clientkey登陆,登陆地址:
http://ptlogin2.qq.com/group?ptlang=2052&clientuin=88014334&clientkey=981AF4BEB6EE850632F6CEC626436DD07F1D9D2CB67DDCA37390AFB3D10F8FD5&guin=0&type=7&keyword=深圳&catalog=0
二、开始搜索:
搜索地址为:
http://qun.qq.com/?w=a&c=index&a=sresult&cl=&cnum=0&tx=%25E5%25B9%25BF%25E4%25B8%259C%2B%25E6%25B7%25B1%25E5%259C%25B3&pg=1&st=0&c1=0&c2=0&c3=0&ecd=0&_=1281848252531
_ 1281849286546 随机数
a sresult 固定参数
c index 固定参数
c1 0 固定参数
c2 0 固定参数
c3 0 固定参数
cl 此处为搜索的分类,比如大类购物,再小类电脑,还有第二个小类,但这个参数只处理前两个分类,参数结果 购物:电脑 然后把结果url编码
cnum 0 这个不知道是什么东东,没有研究出来
ecd 0 固定参数
pg 1 第几页
st 3 排序 最相关0 最活跃4 最新建1 最多人3 最高级2
tx %E5%B9%BF%E4%B8%9C+%E6%B7%B1%E5%9C%B3 搜索关键字,如果有填写区域,则参数结果为区域加上关键字再加上面最小的一个分类,比如 广东+交友+整机 然后进行url编码
w a 固定参数
返回的结果为一个json:
{"responseHeader": {"status":"0","QTime":"20"},"response": {"numFound":"2357","currentNum":"10","currentPage":"1","results":[{"RQ":"1242278202","MD":"27153333","ID":"老乡会:黑龙江省;","XT":"0","DT":"0","TI":"曲线距离-东北-<font color=#C60A00>广东</font>","UR":"http://qun.qq.com/1.1/27153333","QQ":"290007055","TA":"","CL":"14:244;","GA":"28","GB":"","GC":"37","GD":"496","GE":"","GF":"2","GH":"27153333","GI":"","GJ":"1","EX":"","DX":"0","TX":"东北人在<font color=#C60A00>广东</font>的休闲娱乐群 欢迎广州 东莞 <font color=#C60A00>深圳</font> 珠海等朋友的加入"},{"RQ":"1240727307","MD":"24814455","ID":"游戏:电脑游戏;","XT":"0","DT":"0","TI":"【卐】 婲心皇朝","UR":"http://qun.qq.com/1.1/24814455","QQ":"116978901","TA":"","CL":"4:399;","GA":"32","GB":"","GC":"58","GD":"495","GE":"","GF":"0","GH":"24814455","GI":"","GJ":"0","EX":"","DX":"0","TX":"<font color=#C60A00>广东</font>真三总群,会聚本<font color=#C60A00>广东</font>真三高手.<font color=#C60A00>深圳</font>居多数.请申请加入时说明.想做广告者请绕道."},{"RQ":"1244014282","MD":"29849933","ID":"考试/培训:公务员;","XT":"0","DT":"0","TI":"<font color=#C60A00>深圳</font>公务员职员雇员群","UR":"http://qun.qq.com/1.1/29849933","QQ":"3368338","TA":"","CL":"9:154;","GA":"26","GB":"","GC":"32","GD":"443","GE":"","GF":"2","GH":"29849933","GI":"","GJ":"0","EX":"","DX":"0","TX":"<font color=#C60A00>深圳</font>国家公务员<font color=#C60A00>深圳广东省</font>公务<font color=#C60A00>深圳</font>公务员<font color=#C60A00>深圳</font>职员<font color=#C60A00>深圳</font>雇员考试群,公务员资料分享."},{"RQ":"1256266890","MD":"29894504","ID":"考试/培训:公务员;","XT":"0","DT":"0","TI":"<font color=#C60A00>广东</font>光华公务员考试群","UR":"http://qun.qq.com/1.1/29894504","QQ":"86006659","TA":"","CL":"9:154;","GA":"21","GB":"","GC":"22","GD":"438","GE":"","GF":"2","GH":"29894504","GI":"","GJ":"0","EX":"","DX":"0","TX":"国考,<font color=#C60A00>广东省</font>考,广州<font color=#C60A00>深圳</font>市单独招考,复习备考,资料共享,群内演练,专家指导"},{"RQ":"1245320171","MD":"52266741","ID":"老乡会:湖北省;","XT":"0","DT":"0","TI":"通城人在<font color=#C60A00>深圳</font>500人","UR":"http://qun.qq.com/1.1/52266741","QQ":"458641","TA":"","CL":"14:245;","GA":"28","GB":"","GC":"66","GD":"432","GE":"","GF":"2","GH":"52266741","GI":"","GJ":"1","EX":"","DX":"0","TX":"只加通城的老乡,而且在<font color=#C60A00>广东</font>及<font color=#C60A00>深圳</font>工作的朋友们!加入请填写镇名"},{"RQ":"1269599392","MD":"68450181","ID":"商业金融:金融专才;","XT":"0","DT":"0","TI":"中国财税交流-<font color=#C60A00>广东</font>群","UR":"http://qun.qq.com/1.1/68450181","QQ":"292790863","TA":"注册税务师","CL":"19:323;","GA":"86","GB":"","GC":"83","GD":"374","GE":"","GF":"2","GH":"68450181","GI":"","GJ":"1","EX":"","DX":"0","TX":"广州会计<font color=#C60A00>深圳</font>会计东莞会计<font color=#C60A00>广东</font>会计梅州会计事务所考试验资ipo所得税"},{"RQ":"1275529683","MD":"53228677","ID":";","XT":"0","DT":"0","TI":"<font color=#C60A00>深圳</font>货代(特)","UR":"http://qun.qq.com/1.1/53228677","QQ":"282028525","TA":"","CL":";","GA":"24","GB":"","GC":"68","GD":"371","GE":"","GF":"2","GH":"53228677","GI":"","GJ":"0","EX":"","DX":"0","TX":"本群为<font color=#C60A00>广东深圳</font>货代,港口海运出口物流,请注明公司名称.行业.优势!非货代请勿加入!"},{"RQ":"1250852258","MD":"38626655","ID":"老乡会:江西省;","XT":"0","DT":"0","TI":"进贤人在<font color=#C60A00>广东</font>(超级群)","UR":"http://qun.qq.com/1.1/38626655","QQ":"180142413","TA":"其它地区","CL":"14:240;","GA":"35","GB":"","GC":"72","GD":"300","GE":"","GF":"2","GH":"38626655","GI":"","GJ":"1","EX":"","DX":"0","TX":"验证注明是进贤哪里人!欢迎<font color=#C60A00>广东</font>(广州<font color=#C60A00>深圳</font>东莞惠州中山)的70后和80后加入!"},{"RQ":"1220149941","MD":"47849933","ID":"技术联盟:软件交流;","XT":"0","DT":"0","TI":"网维<font color=#C60A00>广东深圳</font>总部","UR":"http://qun.qq.com/1.1/47849933","QQ":"138168258","TA":"","CL":"12:187;","GA":"3","GB":"","GC":"3","GD":"226","GE":"","GF":"2","GH":"47849933","GI":"","GJ":"0","EX":"","DX":"0","TX":""},{"RQ":"1268532550","MD":"38358906","ID":"老乡会:广东省;","XT":"0","DT":"0","TI":"河源人在珠三角总部","UR":"http://qun.qq.com/1.1/38358906","QQ":"32277066","TA":"","CL":"14:247;","GA":"4","GB":"","GC":"1","GD":"221","GE":"","GF":"2","GH":"38358906","GI":"","GJ":"1","EX":"","DX":"0","TX":"<font color=#C60A00>广东省</font>河源市老乡会河源 珠海 中山 <font color=#C60A00>深圳</font> 广州 江门 东莞区域性强组织群 欢迎你的加入"}],"CorrectPin": [],"SimilarWords": []}}
群号码为:MD
创建人:QQ
这里有一个应该有一个内部群号,因为还没手抓包,后面再补上,但 我猜是RQ
到此结束,以此留档