<% dim url,page,i,str 'on error resume next Function getHTTPPage(url) ' on error resume next dim http set http=Server.createobject("Microsoft.XMLHTTP") Http.open "GET",url,False Http.SetRequestHeader "Referer",url Http.send() if Http.readystate<>4 then exit function end if getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312") set http=nothing if err.number<>0 then err.Clear End function Function BytesToBstr(body,Cset) dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function '=================================================== url="http://top.baidu.com/top_keyword.html" page= getHTTPPage(url) Dim Re Set Re=new Regexp Re.Multiline=True Re.Global=True Re.IgnoreCase=True Re.pattern="p12blue""\>(([^\<])+?)\<\/" Set Matches=Re.Execute(page) For Each N In Matches Str=str&","&N.value Next Str=Replace(str,"p12blue"">","") str=Replace(str,""&str&"") %>泉州论坛|泉州动漫论坛|福建游戏论坛|高达模型论坛|漫の游地带BBS|厦门影视论坛|中国体育论坛|学生网周边论坛|手办论坛|免费在线收看动漫|拼装模型论坛|三国BB战士|COSPLAY论坛|个性定做DIY|港版|正版|COS道具|图书\漫画论坛|DVD\VCD论坛|玩具论坛|精品|饰品|文化用品|海报|礼品|赠品|促销品|纪念品|福州动漫 泉州论坛|泉州动漫论坛|福建游戏论坛|高达模型论坛|漫の游地带BBS|厦门影视论坛|中国体育论坛|学生网周边论坛|手办论坛|免费在线收看动漫|拼装模型论坛|三国BB战士|COSPLAY论坛|个性定做DIY|港版|正版|COS道具|图书\漫画论坛|DVD\VCD论坛|玩具论坛|精品|饰品|文化用品|海报|礼品|赠品|促销品|纪念品|福州动漫