package
0.0.0-20250225225442-afbcfe5adc5b
Repository: https://github.com/chromedp/examples.git
Documentation: pkg.go.dev
# README
About
This example demonstrates using a standalone Go binary with the the
docker.io/chromedp/headless-shell
container to scrape multiple
websites.
Running
# build container
$ cd /path/to/chromedp/examples
$ podman build -f multi/Dockerfile --tag localhost/multi .
# make output directory
$ mkdir out
# run example
$ podman run --rm --volume ./out:/out localhost/multi 'https://www.google.com/' 'https://ifconfig.me'
# list the output
$ ls out
0.png 1.png