bogeyman

Bogeyman is application build upon awesome PhantomJS and it provides REST API so you can use PhantomJS headless crawling of heavy javascript webspages within any programming language or curl.

Bogeyman.js

Bogeyman is application build upon awesome PhantomJS and it provides REST API so you can use PhantomJS headless crawling of heavy javascript webspages within any programming language or curl.

Clients:

You can install it globally

npm install -g bogeyman

Or locally

npm install bogeyman

Run server

bogeyman 31313 # if you installed it via npm install
node ./bin/bogeyman 31313 # if you cloned a repo

Make a request

curl -XPOST "localhost:31313" --data '
{
  "url": "http://yuna.sk",
  "method": "GET",
  "data": {},
  "params": {
    "proxy": "127.0.0.1:9999",
    "proxy_type": "socks5"
  }
}

And get result

{
  "response": {
    "body": "<html>...</html>",
    "code": 200
  },
  "status": "success"
curl -XPOST "localhost:31313" --data '
{
  "url": "http://yuna.sk",
  "method": "GET",
  "data": {},
  "cookies": [
    {
      "name": "test",
      "value": "test",
      "domain": "yuna.sk",
      "path": "/path",
      "httponly": false,
      "secure": false,
      "expires": 1405164630
    }
  ]
}
'

TBD

This library is distributed under the Beerware license.