Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: