This is an express server to capture website screenshots using node.js and puppeteer.
$ git clone https://github.com/hseoy/get-a-web-screenshot
$ yarn install
$ yarn start
Queries :
query | description | is required |
---|---|---|
website |
website url to capture | yes |
Returns: Captured website screenshot. image/png
Example:
- url:
http://localhost:3000/?website=https://github.com/hseoy/get-a-web-screenshot
- response: