Reputation: 11702
I'm working on a project for fun but i want to grab just the html code from a website which I will later have to extract just the links.
I've been googling for a few minutes and I haven't found anything that does what I want specifically (just the text).
Upvotes: 0
Views: 1250
Reputation: 31610
Have you looked at a standard tool like Httrack, or if you want to actually want the html if you're programming for fun look at WebClient or HttpWebRequest if you want to learn more.
Upvotes: 2
Reputation: 11702
WebClient client = new WebClient();
String htmlCode = client.DownloadString("http://born2code.net");
Upvotes: 4