Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to download all the links (name and url of each link) from a given URL into an array.

example..
i have url http://google.com

i want to download all the hyperlinks(name/title and url of each link) on this webpage into an array..

Thanx in advance :)
Posted

You may use Html Agility Pack[^] which is nice & easy one.
 
Share this answer
 
It's called "Scraping", and there are loads of examples - google can find them for you, but here is one it found: C# Scraping HTML Links[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900