Crawl a Web page source code, you can use the inside of the component instead. It should be from the server.

Source: Internet
Author: User
server| Page | Source code on Error Resume Next
If Request ("ID") = "" Then
Response.Write "Enter QQ number: <form action=" "getpage.asp" "><input name=id><br><input type=" "Submit" " ></form> "
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, "nickname")
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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.