Hi
I want to create a web scraper with login using C# desktop app.
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bechir BejaouiPosted Sep 17, 2010, 12:39 PM
Are you using ASP.NET or other platform?
EA BPosted Sep 17, 2010, 12:25 AM
Bechir BejaouiPosted Sep 16, 2010, 8:26 PM
//use webclient credential to set the authorization logic and use the method bellow
public string ScreenScrape(string url)
{
using (System.Net.WebClient client = new System.Net.WebClient())
{
// set properties of the client
return client.DownloadString(url);
}
}
}