JarvusInnovations / puppeteer-cli

A general command-line wrapper for puppeteer. Currently only supports one command—`print`—to render a local/or remote HTML file to PDF. Aims to be a easy replacement for the deprecated wkhtmltopdf.
MIT License
53 stars 25 forks source link

Source fetching #22

Open Sitebase opened 3 years ago

Sitebase commented 3 years ago

What's your thought about having a command like:

puppeteer source https://github.com

Which will just return the HTML source as text for that page? I'm happy to create a PR for this but first wanted to check what your idea was about this feature.

themightychris commented 3 years ago

@Sitebase I think that would fit well, a PR would be welcome!