Re:Ghost.py is a webkit web client written in python
by zackzackzack on Thursday April 26, 2012 @10:53PM
(#3897282)
Phantom js has to run as it's own process, so no support for node or anything similar.
This looks like it can run within something like django.
[ Parent
| on HN ]
Re:Ghost.py is a webkit web client written in python
by fpp on Friday April 27, 2012 @06:38AM
(#3898426)
You can use PhantomJS with Node e.g. with child_process and messages via stdout. Works pretty well. Running this in its own process context might actually be a benefit e.g. when you spawn multiple phantomjs browsers
There is a project on github where this was taken a step further via dnode ( https://github.com/sgentle/phantomjs-node ) - you get access to the phantomjs objects, get/set properties and access the phantomjs api methods.
Will certainly have a deeper look into ghost.py