Tuesday, September 16, 2008

Screen Scraping made simple

If you are using .NET, simply use the following function to get HTML string from an URL. 
public static string getHTML(string url)
{
return new System.Net.WebClient().DownloadString(url);
}