Show HN: Phantom JS interactive editor
phantomjs-pad.ozaur.com
Show HN: Phantom JS interactive editor
1–10 of 42 posts
Re: Show HN: Phantom JS interactive editor
#2Re: Show HN: Phantom JS interactive editor
#3Author here: oh no Google banned traffic from my AWS instance and google.com shows blank :-(.
Can we download this and run it locally? Is the code open sourced somewhere?
Re: Show HN: Phantom JS interactive editor
#4Author here: oh no Google banned traffic from my AWS instance and google.com shows blank :-(.
Yeah, they'll do that :) Can we download this and run it locally? Is the code open sourced somewhere?
Right now the setup would be too hard to make it smooth.
Re: Show HN: Phantom JS interactive editor
#5Re: Show HN: Phantom JS interactive editor
#6Author here: oh no Google banned traffic from my AWS instance and google.com shows blank :-(.
Re: Show HN: Phantom JS interactive editor
#7The concurrency model in Splash scripts is not the same as in Phantom JS scripts: Splash allows to use loops/ifs/functions in async code without recursion tricks or things like "casper.thenOpen". See http://splash.readthedocs.org/en/latest/scripting-tutorial.h... for more info.
We haven't done a public announcement, and Splash is not yet feature complete, but it is used in production for more than a year, there are hundreds of unit tests and it is in active (though a bit sporadic) development - so give it a try if you want something different :)
Installation is just "docker pull scrapinghub/splash" - see http://splash.readthedocs.org/en/latest/install.html.
Re: Show HN: Phantom JS interactive editor
#8I was curious with this example, as I have had zero luck getting webfonts to render using PhantomJS so far. Have you had any success rendering webfonts?
Re: Show HN: Phantom JS interactive editor
#9In the Yelp example, I was confused for a second by the variable name of 'pizza' when doing a Yelp search on seafood. Renaming that would make the example more clear. :)
What does the browser-view show? I didn't try, but if the code traverses multiple locations, is it a screenshot of the last step?
Re: Show HN: Phantom JS interactive editor
#10I tried with typekit with no success: http://phantomjs-pad.ozaur.com/DrDvxMADoP2TdF652 I was curious with this example, as I have had zero luck getting webfonts to render using PhantomJS so far. Have you had any success rendering webfonts?