Get an array of search results, scraped right from Google!
The default export is just a function, which returns a Promise
.
const search = require("googlekit");
await search("furry porn", 0); // The first argument is the query, the second argument is the page it should be on (0 == page one, 1 == page two)
errors
- Errors that occured while parsing resultsresults
- Array of result objectsurl
- URL of resulttitle
- Title of resultdescription
Description of result
rawHTML
- Direct response from Google