How to Save Web Page, complete in C#
-
I try following code; WebClient wClient = new WebClient(); wClient.DownloadFile("http://www.google.com", "C:\\google.html"); But those code do not download resource file (like css, image...). How can I download COMPLETE web page using with C#.NET Best Regards...
-
I try following code; WebClient wClient = new WebClient(); wClient.DownloadFile("http://www.google.com", "C:\\google.html"); But those code do not download resource file (like css, image...). How can I download COMPLETE web page using with C#.NET Best Regards...
Download the html page, use regular expressions or something similar to find references to images or css on the html,and download them as well... :^)
-
Download the html page, use regular expressions or something similar to find references to images or css on the html,and download them as well... :^)
Its really hard way. I download http://www.google.com/ And I read source, find <img src=images/hp0.gif width=158 height=78 alt="Google"> Than I download http://www.google.com/images/hp0.gif