搜狗搜索加密参数分析
基本上知道下面的大概就行了。用得少。
cl.gif
cl.gif接口 参数
源码获取的
对比发现少了 k和h参数
在网页最下面有加k和h的函数
第一次请求sogo的时候 要调用下pv.gif 会set-cookie 先发请求到cl.gif,再重新请求
(function(){$("a").on("mousedown click contextmenu",function(){var b=Math.floor(100*Math.random())+1,a=this.href.indexOf("url="),c=this.href.indexOf("&k=");-1!==a&&-1===c&&(a=this.href.substr(a+4+parseInt("21")+b,1),this.href+="&k="+b+"&h="+a)})})();