phantomjs based screenshot server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
generate_levels.sh
requirements.txt
rm.run.sh
run.py
screenshot.js
webserver.py

README.md

pyshotx

pyshotx is a phantomjs screenshot server written in python using phantomjs headless browser which doesn't require running X server.

##Required software

gevent is used for the web server. phantomjs is used for creating the actual screenshots. redis is used for synchronizing between the server and the image resizing process. redis-py is redis client for python PIL is used for resizing the screenshots.

##Usage ./run.sh -e -d screens/ Open: http://0.0.0.0:8088/create?domain=ebay.com and wait for the screenshots.

If nothing happens check the logfiles:

  • webserver.log
  • sphantomjs_children_1.log