top | item 10071634

A Scripting Language for HTTP

75 points| nimitkalra | 10 years ago |github.com | reply

20 comments

order
[+] jimjag|10 years ago|reply
Yet another Github project that could be useful, except that there is no explicit license. Which means it's under traditional copyright.
[+] WormyMcSquirmy|10 years ago|reply
So raise a pull request to add one.
[+] max0563|10 years ago|reply
Author here, I am currently looking for someone who would be interested in improving and maintaining this project. I have been trying but I don't really have time due to work and other things happening in my life. I would like to see HTTPLang grow,and it seems like there is some interest in the community. If anyone is interested send me an email at [email protected]
[+] ufo|10 years ago|reply
I'm curious why this was made into a scripting language instead of into a regular Python library. It it were regular Python you would get tons of features for free like loops, functions, if statements, etc.
[+] leftnode|10 years ago|reply
Because then you'd just have Requests and normal Python which it sounds like the author wanted to avoid.
[+] swalsh|10 years ago|reply
One problem i've had using python to script loading pages, is sometimes other pages you need things from load in frames based on a javascript load functions. PhantomJS solves this by emulating the browser... of course then you have to do everything in javascript.
[+] nkozyra|10 years ago|reply
Sure, but the JS you need is incredibly minimal and you can easily transport Phantom's output to whatever other application you can dream of.

I've seen a lot of headless apps outside of Phantom, but none of them work well enough for me to ditch the system above (Phantom :: Message Queue :: Other App).