Skip to content

Instantly share code, notes, and snippets.

@atomotic
Last active November 4, 2015 10:19
Show Gist options
  • Save atomotic/17d9c43fd0db820dd95e to your computer and use it in GitHub Desktop.
Save atomotic/17d9c43fd0db820dd95e to your computer and use it in GitHub Desktop.
phantomjs-warcprox
$ pip install warcprox
$ brew install phantomjs
$ warcprox -c warcprox.pem
$ phantomjs --proxy=localhost:8000 \
--ssl-certificates-path=warcprox.pem \
/usr/local/Cellar/phantomjs/2.0.0/share/phantomjs/examples/rasterize.js \
http://{URL} screenshot.png "1024px*768px"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment