Puppeteer based project for url to png/jpg/pdf conversion.
- NodeJs
- Puppeteer
In order to utilise this project you need to have the following installed locally:
To install the dependencies locally run:
npm install dependenciesIn order for the conversion to pass, you will need to configure the script with the following parameters:
node capture <url> <ext>- Add the web addresses in the
<url>section of the node command. - Add the output file extension in the
<ext>section of the node command.
node capture https://www.google.com pngnode capture https://google.com png