News for hackers. Stuff that matters.
Re:Ghost.py – Webkit-based scriptable web browser for Python by zkanda on Monday June 01, 2015 @12:01AM (#9636743)
Wow, this is nice, anyone know how to take screenshot with this? Also how is this compared to Splash[0]?

[0] - http://splash.readthedocs.org/en/latest/

Re:Ghost.py – Webkit-based scriptable web browser for Python by gedrap on Monday June 01, 2015 @02:27AM (#9637032)
Shameless plug, a while ago I wrote a micro rest api (ghost.py + flask) to take screenshots and optionally upload them to S3: http://gedrap.github.io/lightshot/

It still needs some extra work to be production ready though, please feel free to email me or create a github issue if you think it might useful for you :)

Re:Ghost.py – Webkit-based scriptable web browser for Python by dufferzafar on Monday June 01, 2015 @01:23AM (#9636919)
There is a capture_to[0] method that can be used to save a screenshot.

Btw, Thanks for telling me about Splash, I needed something that has support for Ad Block Plus rules.

[0] - http://ghost-py.readthedocs.org/en/latest/#ghost.Ghost.captu...