News for hackers. Stuff that matters.
Re:Phantompy - Headless WebKit engine for Python, like phant... by boothead on Tuesday May 21, 2013 @04:54AM (#5742526)
Is there anything wrong with the python bindings to phantom? I used phantomjs (it's great)a few years ago and I thought there were some python bindings to the original phantom C++ library - could be wrong though.
Re:Phantompy - Headless WebKit engine for Python, like phant... by Herald_MJ on Tuesday May 21, 2013 @05:44AM (#5742673)
There were a set of Python bindings for phantom.js named PyPhantomjs, and it was included in actual phantom releases, but the maintainer moved away from the project, no-one stepped forward and it was ultimately removed from the project (https://github.com/ariya/phantomjs/issues/10344).

So this project is really useful.

Re:Phantompy - Headless WebKit engine for Python, like phant... by kanzure on Tuesday May 21, 2013 @12:58PM (#5744987)
> no-one stepped forward and it was ultimately removed from the project

Here's the source code, if you are interested:

https://github.com/kanzure/pyphantomjs

Re:Phantompy - Headless WebKit engine for Python, like phant... by waitwhatwhoa on Tuesday May 21, 2013 @05:20AM (#5742605)
Ariya Hidayat & co have put a monumental amount of effort into exposing the inner workings of webkit in phantomjs - I'm not sure I see the necessity for a python rewrite. Taking a quick look at the code, most everything I use phantomjs for outside of screenshotting is not available. A great start for sure, but unless there are some fundamental shortcomings with phantomjs that I'm unaware of, I agree with boothead that python bindings are probably the way to go.
Re:Phantompy - Headless WebKit engine for Python, like phant... by heydenberk on Tuesday May 21, 2013 @06:36AM (#5742804)
One thing that jumps out at me is that phantompy uses Qt5 internally, while phantomjs uses Qt4. There are lots of new WebKit features and optimizations in Qt5.
Re:Phantompy - Headless WebKit engine for Python, like phant... by rjh29 on Tuesday May 21, 2013 @07:30AM (#5742952)
phantomjs will target Qt5 in the next release, 2.0.