linkedin-scrapper
v1.2.1
Published
linkedin-scrapper ========= ## Installation ```shell npm install linkedin-scrapper ```
Downloads
6
Maintainers
Readme
linkedin-scrapper
Installation
npm install linkedin-scrapper
Usage
const scrapper = require("linkedin-scrapper");
scrapper({
url:"profile-id/", // ex: natsu-gupta/
}).then(res=>console.warn(res));
scrapper returns a promise so it could be used with await as well.
const scrapper = require("linkedin-scrapper");
async function foo(){
const profile = await scrapper({url:"profile-id/"}); // example: jeffweiner08
console.warn(profile);
}
foo();
Fetching Multiple Profiles
scrapper({
url: ["profile-id-1/",
"profile-id-2/"
]
}).then(res => console.warn(res));