url="http://www.noktadomains.com/searchdomain.html?length.max=2&length.min=2&page=1"
Set strhttp=server.createobject("MSXML2.ServerXMLHTTP.6.0")
strhttp.Open "get",url,false
strhttp.send
gethttp=strhttp.responsetext
gethttp=Mid(gethttp,instr(gethttp,"<tbody>"),instr(gethttp,"</tbody>")-instr(gethttp,"<tbody>")+8)
Set RegExte=New RegExp
RegExte.Global=True
RegExte.IgnoreCase = False
RegExte.Pattern="trackEvent,SearchPageLink,Search,([\d\D\w][^.]{0,70}).([\d\D\w][^\]]{0,20})"
Set Sonucte=RegExte.Execute(gethttp)
if sonucte.count>0 then
for i=0 to sonucte.count-1
response.write(i+1&"-"&Sonucte(i).SubMatches(0)&"."&Sonucte(i).SubMatches(1)&"<br>")
next
end if
我有一个.ASP页面,上面的代码,我从该网址获得了源代码:
“ noktadomains.com/的 searchdomain.html length.max = 2及?length.min = 2及页= 1 ”
我的.asp页面上的输出就像;
1-00.co
2-00.org
3-00000.org
4-000WebHosting.com
5-0033.co
6-007BondGirls.com
7-007Movie.com
8-...
直到这里一切正常,我做我想做的事,但我有时间问题,当我的asp页面加载时,至少需要7-8秒,我想因为我用xmlhttp连接的目标URL非常大,因此需要很长时间?
对于那种情况有什么想法吗?