Jose

Jose

  • NA
  • 3
  • 18.1k

Cookies in C# HTMLdocument & httpweb

Feb 4 2011 2:18 AM
I am using VS C# Express

Ok, so I'm trying to scrape some HTML from a website. It requires a login as well as re-captcha upon login. As I assume there is now way of breaking the re-captcha, I have a browser where I login to the site I'm trying to scrape. To scrape the data I will be using httpwebrequest and httpwebresponse. So, my question is how or where can I find the cookie that I get after logging into the site? Once I have it, I understand how start using it but I'm not sure where to start looking. Can it be obtained from the HTML document? or do I have to look in the IE explorer program files for it? Not sure what the best way to approach this.

-Jose

Answers (6)