I need a way to be able to download a webpage through use of a script. I can get to the page with no problem in batch, vbs etc. Use of Ctrl+S in Chrome for example allows me to download and save it to MHTML (Once the correct flags options were set) and the resulting MHTML file is perfect. It opens locally and ll the contents work exactly as they would have if I were on that site. Including all images, links, and other visual html design.
I need to be able to do the same as ctrl+S(ave) to MHTML in a script that can be run on demand to create this document as needed.
Using Wget I end up with a variety of results depending on how I word the statement but none of them is even close to the same as the ctrl+S to get the MHTML version. If there is a command-line version of SAVE AS for Chrome I have not yet found it. It seems that something so simple in GUI surely must have some way to accomplish the same results in what should be one line in a script.
I need to be able to do the same as ctrl+S(ave) to MHTML in a script that can be run on demand to create this document as needed.
Using Wget I end up with a variety of results depending on how I word the statement but none of them is even close to the same as the ctrl+S to get the MHTML version. If there is a command-line version of SAVE AS for Chrome I have not yet found it. It seems that something so simple in GUI surely must have some way to accomplish the same results in what should be one line in a script.








line 1 char 23 expected end of statement
