Sign inSign up

dannyben/snapcrawl

By dannyben

Updated about 3 years ago

Image
0

1.9K

dannyben/snapcrawl repository overview

Snapcrawl Docker Image

Version

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

Create a snapcrawl alias that runs the docker container and mounts the current directory to the container's working directory:

$ alias snapcrawl='docker run --rm -it --volume "$PWD:/app" dannyben/snapcrawl'

Then you can run any snapcrawl command:

$ snapcrawl --help
$ snapcrawl example.com log_level=0 depth=2 width=1024

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 example.com

Tag summary

Content type

Image

Digest

sha256:9bc814205

Size

300.4 MB

Last updated

about 3 years ago

docker pull dannyben/snapcrawl