友情链接url无限采集-友情链接url无限采集怎么用
编辑整理:整理来源:360问答,浏览量:57,时间:2022-11-06 10:35:01
友情链接url无限采集,友情链接url无限采集怎么用,友情链接url无限采集怎么用
replace(你的代码,"
","<%if (p mod 2)=0 then%>
<%else%> <%end if%>") 也就是说把你的代码中的两个
换成<%if (p mod 2)=0 then%>
<%else%> <%end if%>
以下是asp源代码:
<form action="">url:<input name="url_" /><input type="submit" name="submit" value="查询" /></form>
<%
if request("url_")<>"" then
senfe_geturl request("url_")
end if
sub senfe_geturl(surl)
dim scontent, sdomian, otempreg, i, omatches, cmatch, surl_
surl = lcase(surl)
if left(surl, 7)="http://" then
sdomian = mid(surl, 8)
else
sdomian = surl
surl = "http://" & url
end if
if instr(sdomian, "/") then sdomian = split(sdomian, "/")(0)
scontent = senfe_getdata(surl)
set otempreg = new regexp
with otempreg
.ignorecase = true
.global = true
.pattern = "(http:(\/\/|\\\\)(([\w\/\\\+\-~`@:%])+\.)+([\w\/\\\.\=\?\+\-~`@\’:!%#]|(&)|&)+)"
set omatches = .execute(scontent)
for each cmatch in omatches
surl_ = lcase(cmatch.value)
if instr(surl_, sdomian)=0 then
response.write(surl_ & "<br />" & vbcrlf)
end if
next
end with
set otempreg = nothing
end sub
function senfe_getdata(surl)
dim oxmlhttp : set oxmlhttp = server.createobject("msxml2.serverxmlhttp")
with oxmlhttp
.op "get",surl,false
.setrequestheader "referer",surl
.send
senfe_getdata = senfe_bytestobstr(.responsebody,"gb2312")
end with
set oxmlhttp = nothing
end function
function senfe_bytestobstr(sbody, scset)
dim oados : set oados = server.createobject("adodb.stream")
with oados
.type = 1
.mode = 3
.op
.write sbody
.position = 0
.type = 2
.charset = scset
senfe_bytestobstr = .readtext
.close
end with
set oados = nothing
end function
%>
网友热门话题评论:
1楼、自动秒收录友情链接网站源码:随着现在友情链接交易平台的盛行,不少无良的,黑客或服务器管 2、自动生成(主要指采集页面)的页面产生的链接3、页面内容
2楼、自动秒收录友情链接网站源码:友情提醒,此文很长,需要耐心看,推荐收藏前言:为什么想到分 2、自动生成(主要指采集页面)的页面产生的链接3、页面内容
3楼、友情链接网址提交:桥页包括多个链接(往往是数百个),对访问者用处极小或无用,不包含有价值的内容桥页生成的文字往往是杂乱无章的,没有什么
友情链接url无限采集-友情链接url无限采集怎么用完!