jprichardson / node-google

A Node.js module to search and scrape Google.
MIT License
454 stars 115 forks source link

Links #37

Closed SkullyKiddo closed 8 years ago

SkullyKiddo commented 8 years ago

When using the API as: google(slackComment.toLowerCase().replace('.google ',''), function (err, next, links){ for (var i = 0; i < links.length; ++i) { console.log(links[i].title + ' - ' + links[i].link) // link.href is an alias for link.link console.log(links[i].description + "\n") } var botPayload = { text : "google unavailable" }; respond(res, userName, botPayload); })

links variable is always empty.

jprichardson commented 8 years ago

Please try 1.4.0.

franciskim commented 8 years ago

Nice update, fixed my issue. @jprichardson

jprichardson commented 8 years ago

:+1: