Skip to content

Instantly share code, notes, and snippets.

@dblooman
Created April 23, 2014 10:03
Show Gist options
  • Select an option

  • Save dblooman/11209429 to your computer and use it in GitHub Desktop.

Select an option

Save dblooman/11209429 to your computer and use it in GitHub Desktop.
#Headless browser option
browser:
webkit: "phantomjs"
# gecko: "slimerjs"
#If you want to have multiple snapping files, set the file name here
snap_file: "javascript/snap.js"
# Type the name of the directory that shots will be stored in
directory:
- 'shots'
# Add only 2 domains, key will act as a label
domains:
english: "http://www.google.com"
russian: "http://www.google.fr"
#Type screen widths below, here are a couple of examples
screen_widths:
- 320
- 600
- 768
- 1024
- 1280
#Type page URL paths below, here are a couple of examples
paths:
home: /
# If you don't want to name the paths explicitly you can use a yaml
# collection as follows, and names will be derived by replacing / with _
#
# paths:
# - /imghp
# - /maps
#Amount of fuzz ImageMagick will use
fuzz: '20%'
#Set the number of days to keep the site spider file
spider_days:
- 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment