google-autocomplete-bulk
v1.1.9
Published
Get Google Auto complete longer list
Downloads
2
Readme
Google autocomplete bulk
google-autocomplete-bulk is a Nodejs package for dealing with Google autocomplete to scrape large quantities of suggestions.
Installation
Use the npm to install google-autocomplete-bulk.
npm i google-autocomplete-bulk
Usage
Without Proxy
const Gauto = require('google-autocomplete-bulk');
async function main() {
const results = await Gauto('quary', quntity);
console.log(results);
}
With Proxy
const Gauto = require('google-autocomplete-bulk');
async function main() {
const results = await Gauto('quary', quntity, 'proxy address', 'proxy port', 'proxy user', 'proxy password');
console.log(results);
}
Convert data to array
let data = '[test1, test2, test3]';
let array = data
.trim()
.substr(1,data.length-2)
.split(',')
.map(e=>e.trim())
console.log(array);
Example
You can study our examples from our repository
Contributing
Please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.