Are there any existing frameworks that can download a complete web page (not a web site): A HTML page, it's style sheets, (javascripts) and images?
I would like to avoid parsing the HTML and stylesheets myself if possible.
Are there any existing frameworks that can download a complete web page (not a web site): A HTML page, it's style sheets, (javascripts) and images?
I would like to avoid parsing the HTML and stylesheets myself if possible.
I know there is the HTML Agility Pack - this will definitely do the HTML part.
You will be able to easily query it for linked images, stylesheets and javascript files, but it can't handle those.
See this SO question for CSS parsing.
Apart from using JScript, I can't think of any Javascript parser for .NET.