Google search

node v8.17.0
version: 1.0.0
endpointsharetweet
const pify = require("pify") const google = require("google") const search = pify(google) const result = await search("es6") for (const link of result.links) { const title = link.title const href = link.href if (href !== null) { console.log(`${title} - ${href}`) } }
Loading…

no comments

    sign in to comment