top | item 9634808

Ghost.py – Webkit-based scriptable web browser for Python

66 points| avinassh | 10 years ago |github.com | reply

11 comments

order
[+] zkanda|10 years ago|reply
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/

[+] gedrap|10 years ago|reply
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 :)

[+] reinhardt|10 years ago|reply
Based on "scriptable" and the short example I'd guess this is a headless browser ala PhantomJS, but then it says it requires PyQt/PySide so maybe not?
[+] xacrucesalus|10 years ago|reply
Can someone please explain what this does? I'm a little unclear.
[+] andrewchambers|10 years ago|reply
It lets you interact with a version of webkit via python. Useful for writing programs to interact with websites that normally require a user to press buttons.
[+] vojiz|10 years ago|reply
Very interesting project, keep it up.