wget = (url)-> new Promise (f,re)->
request
method: "POST"
url: url
encoding: null
form:
q: ["Hello world", "My name is Scott"]
target: "tiger"
, (e,r,b)->
if e?
re e
else
res = {}
res.headers = r.headers
res.body = cheerio.load b
f res
require("axios").get "http://google.com"
.then (r)-> puts r
.catch (e)-> puts e