WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 20775109

(no title)

jordwalke | 6 years ago

I'm not aware of a way to save as MHTML from Chrome in headless mode (from the command line). Are you?

discuss

order

bhl|6 years ago

You can either use the flag --save-page-as-mhtml from CLI [1] or a library such as puppeteer.

[1] https://techdows.com/2019/06/google-removes-save-page-as-mht...

[2] https://github.com/GoogleChrome/puppeteer

powered by hn/api // news.ycombinator.com