Skip to content
Crawl a website and take screenshots (Docker version)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile
README.md
docker-compose.yml
phantomjs

README.md

Snapcrawl Docker Image

View on GitHub | View on DockerHub


This is a containerized version of Snapcrawl - a command line utility for crawling a website and saving screenshots.

Usage

First, pull the docker image:

$ docker pull dannyben/snapcrawl

Check that it is working properly:

$ docker run --rm -it dannyben/snapcrawl --help

Then you can run Snapcrawl while mounting your current directory so that screenshots will be placed in your own computer.

$ docker run --rm -it --volume $PWD:/app \
  dannyben/snapcrawl go example.com

Using with Docker Compose

# docker-compose.yml
version: '3'

services:
  bash:
    entrypoint: bash
    <<: &default
      image: dannyben/snapcrawl
      volumes: [".:/app"]

  snapcrawl:
    <<: *default

And then you can run:

$ docker-compose run snapcrawl --help
$ docker-compose run snapcrawl go example.com
You can’t perform that action at this time.