最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
抓取一个网页的源代码,可以用里面的组件代替。应该是2000 server自带的
时间:2022-07-02 23:44:27 编辑:袖梨 来源:一聚教程网
on error resume next
if request("ID")="" then
Response.Write "输入QQ号:"
else
url = "http://search.tencent.com/cgi-bin/friend/user_show_info?ln=" & request("ID")
set inet = createobject("InetCtls.Inet")
inet.RequestTimeOut = 200
inet.Url = url
strRet = inet.OpenURL()
Response.Write strRet
if err then
Response.Write err.description
err.clear
end if
where = instr(strRet,"昵 称")
strRet = right(strRet,len(strRet)-where)
where = instr(strRet,"http://img.tencent.com/face")
strRet = right(strRet,len(strRet)-where+1)
where = instr(strRet,"gif")
strRet = left(strRet,where+2)
Response.Write ""
end if
if request("ID")="" then
Response.Write "输入QQ号:"
else
url = "http://search.tencent.com/cgi-bin/friend/user_show_info?ln=" & request("ID")
set inet = createobject("InetCtls.Inet")
inet.RequestTimeOut = 200
inet.Url = url
strRet = inet.OpenURL()
Response.Write strRet
if err then
Response.Write err.description
err.clear
end if
where = instr(strRet,"昵 称")
strRet = right(strRet,len(strRet)-where)
where = instr(strRet,"http://img.tencent.com/face")
strRet = right(strRet,len(strRet)-where+1)
where = instr(strRet,"gif")
strRet = left(strRet,where+2)
Response.Write ""
end if
相关文章
- 第五人格11.22共研服有什么更新 11-22
- 原神恰斯卡怎么配队 11-22
- 原神恰斯卡武器怎么选择 11-22
- 原神5.2版本有什么福利 11-22
- 2024金摇杆奖年度游戏名单 11-22
- 用针在纸上绣画是哪种非遗技艺 蚂蚁新村11月21日答案最新 11-22