2019-06-11 18:16:59 +02:00
|
|
|
const se_scraper = require('./../index.js');
|
|
|
|
|
|
|
|
(async () => {
|
|
|
|
|
2019-10-05 19:39:33 +02:00
|
|
|
let kws = [
|
|
|
|
'https://www.linkedin.com/in/aakanksha-majhi-b24a8449',
|
|
|
|
'https://www.linkedin.com/in/aakash-srivastava-7374a830',
|
|
|
|
'https://www.linkedin.com/in/aakash-tiwari-019b8569',
|
|
|
|
];
|
|
|
|
|
2019-06-11 18:16:59 +02:00
|
|
|
let scrape_job = {
|
|
|
|
search_engine: 'google',
|
2019-10-05 19:39:33 +02:00
|
|
|
keywords: kws,
|
2019-06-11 18:16:59 +02:00
|
|
|
num_pages: 1,
|
|
|
|
};
|
|
|
|
|
|
|
|
var results = await se_scraper.scrape({}, scrape_job);
|
|
|
|
|
|
|
|
console.dir(results, {depth: null, colors: true});
|
|
|
|
|
|
|
|
})();
|