Search code examples
firefoxcommand-line

How can i export html to file via command line with Firefox


So the question explains itself very good.

Is there a console command line to save the html with firefox?

Thanks.


Solution

  • Use pup. Unlike automate-save-page-as, pup doesn't save the raw HTML, but outputs the parsed HTML.