Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 804 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 804 Bytes

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