Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting URLs from a webpage

Status
Not open for further replies.

ortiz1964

Technical User
Nov 29, 2001
1
US
Hello,
Can anybody tell me how to extract URLs from a web page?
Thanks in advance!
 
Use the web browser and access the LINKS collection for the retrieved page.
links Collection
Retrieves a collection of all a objects that specify the HREF property and all area objects in the document.
Syntax
[ oColl = ] document.links
[ oObject = ] document.links(iIndex)

Compare Code (Text)
Generate Sort in VB or VBScript
 
Use the Server Variables Collection

<%
sURL = Request.ServerVariables(&quot;URL&quot;)
%>


Codefish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top