Headless Chromium browser to screenshot URLs and save the navigation generated traffic as a HAR file
url, json
png, har (json)
Dockerfile linkslatest (scrape-website/Dockerfile)Screenshot an URL to png with the cincan (https://gitlab.com/cincan/cincan-command) tool:
cincan run cincan/scrape-website --url https://example.com --png -o screenshots
or using docker directly
docker run --rm -v $PWD/screenshots:/screenshots cincan/scrape-website --url http://example.com --png -o /screenshots
Collect HAR (HTTP Archive) file of the browser interaction with an url
cincan run cincan/scrape-website --url https://example.com --har -o screenshots
HAR files are json, so you can query the file for example with jq.
How to get the content of all of the requests with jq:
jq .log.entries[].response.content.text <HAR file>
Content type
Image
Digest
Size
309.2 MB
Last updated
about 4 years ago
docker pull cincan/scrape-website