Hi
I want to create a web scraper with login using C# desktop app.
Thanks
How to create Web scraper with login
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Bechir BejaouiRank #144 · 15.9K pointsPosted Sep 16, 2010, 4:26 PM EDT
//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);
}
}
}
EA B2 pointsPosted Sep 16, 2010, 8:25 PM EDT
Bechir BejaouiRank #144 · 15.9K pointsPosted Sep 17, 2010, 8:39 AM EDT
Are you using ASP.NET or other platform?