帮忙看看怎么采集奇虎论坛搜索的预览
地址:http://www.qihoo.com/wenda.php?kw=%BB%F0%B3%B5&do=search&area=2&src=bbs采集预览。。
谢谢 <div id="prv-contentid" class="prv-content" style="height:300px">
<div id="view_content" class="prv-wrapper"></div>
</div>
<div class="url">声明:此快照内容可能已经过时,奇虎网和该网页的作者无关,不对其内容负责。</div>到这就没了 js代码eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d=k||e(c)}k=}];e=function(){return'\\w+'};c=1};while(c--){if(k){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k)}}return p}('c d={};d.12=6(){G{26:6($){13.u($);13.U($);G 1n},u:6($){8($.u)$.u();F $.27=1b},U:6($){8($.U)$.U();F $.25=1b}}}();d.j=6(){G{1e:24,16:21,15:22,X:23,V:28,1s:1h}}();c o=n,Y=n,l=n,1p=0,R=0,M=0,1k=n,1l=0,29="预览内容有可能不符合相关法律,预览不能被显示。",w={};4(Q).2f(6(){4(".Z").1f().10(6($){d.12.u(e.1d||$)}).2g(6(){c $=13;l=2d(6(){8(o!=$){(Y=o)&&T(0);1o($)}},d.j.1e)}).2b(6(){8(l){18(l);l=n}});4("#2c").1f().10(6($){T(1);8(l){18(l);l=n}d.12.u(e.1d||$)});4(Q).10(6(){o&&R==0&&T(2);R=0});4("#g-e").1g(6(){R=1});4("#s").1g(6(){1K=1})});6 W(r,p,E,t){4.1I({1J:"1L",1P:"1Y.1Q?1X=1V&1U=1R&r="+r+"&p="+p+"&t="+t,1S:1n,1T:6($){8($==n||$.2h<=0){4("#K").v("<O>对不起,本网页无法进行预览。</O>")}F{w=$;4("#K").v($)}},2p:6(){}})}6 1o(E){14();c C=4(E);o=E;c A=4("#2D");C.1w("> a").1u().1t("2z");c D=C.I("2y");1l=D;E=Q.1m("Z"+D);E=1C(E);c L=4("#Z"+D),b=1y(),J=1x(),B=4("#f").k()+4("#2E").k();B=b.m+20<B&&J.k>2C?B:b.m+20;8(E.y-20<B)B=E.y-20;4("#g-e").7("m",B+"i");4("#s").7("m",B+"i");A.7("m",B+"i");c $=4("#2F").h()-1h+4(".2u").h();8(J.h<2v){$-=2m;8(E.x+L.h()+3>$)$=E.x+L.h()+3;8($>1i)$=1i}4("#g-e").7("P",$+"i");4("#s").7("P",$+"i");A.7("P",$+1c+"i");L=J.h-$-5;8(L<d.j.16)L=d.j.16;8(L>d.j.15)L=d.j.15;4("#g-e").7("h",L+"i");4("#s").7("h",L+"i");1p=L;b=J.k-(B-b.m)-2n;8(b<d.j.X)b=d.j.X;8(b>d.j.V)b=d.j.V;8(B+b<E.y)b=E.y-B;4("#g-1v").7("k",b+"i");4(".g-2r").7("m",E.y-B+"i");4("#K").v("<O><1j 2s=\\"1j/2o.2k\\" /> 正在加载预览信息,请稍候... ...</O>");c r=C.I("r");c p=C.I("p");c t=4("#2l").2A();E=4("#19"+D);C=4("#2B"+D);1k=Q.1m("19"+D);c H=E.I("1q");E="";E="标题: <a 1q=\\""+H+"\\" 2w=\\"2x\\">"+C.2i()+"</a>";4("#1M").v(E);4(".g-1W").7("q","17");M=(11 1H).1F();8(Y){4("#g-e").7("q","S");4("#s").7("q","S");8(w){4("#K").v(w)}F{W(r,p,D,t)}}F A.7({h:"1a",k:"1a"}).2e({h:4("#g-e").h()-1c+"i",k:4("#g-e").k()+"i"},d.j.1s,6(){A.2a();4("#g-e").7("q","S");4("#s").7("q","S");4("#N").7("z-1r","-1");4("#N").7("1G","2q");8(w){4("#K").v(w)}F W(r,p,D,t)})}6 T(b){8(M>0){c $=((11 1H).1F()-M)/2j;M=0}4("#g-1v").I("1D",0);4(o).1w("> a").1u().1t("2t");4("#g-e").7("q","17");4("#s").7("q","17");4("#N").7("z-1r","9");4("#N").7("1G","");8(o)o=n;14()}6 1x(){G{h:4(e).h(),k:4(e).k()}}6 1y(){G{m:4(e).1D(),P:4(e).1O()}}c 1E=11 1N(20);6 14(){1B(c $=0;$<20;$++)1E[$]=0}6 1C(A){1B(c b=A.1z,$=A.1A;A=A.1Z;){b+=A.1z;$+=A.1A}A={};A.x=b;A.y=$;G A}',62,166,'||||jQuery||function|css|if|||_|var|qihooSnap|window||prv|width|px|gvar|height|g_nOverTimer|top|null|g_eCurSnap|docid|display|hostid|cBg|kw|stopPropagation|html|SnapCache|||||||||else|return||attr||view_content||g_openTime|rId|center|left|document|g_clickSnapWin|block|closePreviewWin|preventDefault|nMaxSnapWinHeight|loadData|nMinSnapWinHeight|g_SnapSnap|preview|click|new|util|this|resetIndex|nMaxSnapWinWidth|nMinSnapWinWidth|none|clearTimeout|hitURL|0px|true|32|event|nOverTimeout|unbind|mousedown|100|590|img|g_title|g_pos|getElementById|false|openPreviewWin|g_winWidth|href|index|animateTime|addClass|removeClass|contentid|find|getWinSize|getWinScroll|offsetLeft|offsetTop|for|getAbsolutePos|scrollTop|termNavPosition|getTime|position|Date|ajax|type|g_clickPrvWin|GET|title_text|Array|scrollLeft|url|php|popsnap|cache|success|act|snap|dog|do|wenda|offsetParent||400|650|350|150|returnValue|stopEvent|cancelBubble|550|forbiddenHint|hide|mouseout|close_prv|setTimeout|animate|ready|mouseover|length|text|1000|gif|keyword|120|85|loading|error|relative|ml|src|yl|results|1050|target|_blank|pos|yl1|val|title|600|prv_pseudo|pt|side'.split('|'),0,{})) <script type="text/javascript" src="/scripts/js/jquery1.3.2.js?v1280322823"></script>
<script type="text/javascript" src="/scripts/js/popsnap.js?v1280322823"></script> shit 没看到。。。
页:
[1]