获取关键字百度排名位数的方法,主要应该是正则表达式
例如从百度搜索csdn,
获取的结果部份如下:
<table cellpadding="0" cellspacing="0" class="result" id="1" ><tr><td class=f><h3 class="t"><a class="favurl" style="background-image:url(http://picache.baidu.com/media?wd=CDA79D2E8563D8F5C0BE992128D3F9A731AB79C901D3B50C23CC90DA3E9B3A087B213DFB6081CDFAE847E90EF99A9BB4&src=local://spider/favicon/site_www.csdn.net.png&def=local://neverfill)" onmousedown="return c({'fm':'as','F':'779317EA','F1':'9D33F1E4','F2':'4CA63E6B','F3':'54E5243F','T':'1323793664','title':this.innerHTML,'url':this.href,'p1':1,'y':'FEFAFA7E'})" href="http://www.csdn.net/"target="_blank">