I have to download the html code from a website and parse it (unfortunately, parsing the html is the only way to get the necessary information). Of cause I could write my program using WebRequest
, but I wonder whether there's a finished library for this.
I want to define the url and the header (cookies and POST-data) and would like to get the html code. It would be perfect if the library would return the answer-header as well.
You probably need to use WebRequest
to do the communications (posting and retrieving data). For parsing HTML, there is the HTML Agility Pack. I have not used it myself though.