require ( 'dotenv' ) . config ( ) ; import { LinkedInProfileScraper } from '../index' ; ( async ( ) => { const scraper = new LinkedInProfileScraper ( { sessionCookieValue : `${ process . env . LINKEDIN_SESSION_COOKIE_VALUE }` , keepAlive : true } ) ; await scraper . setup ( ) ; const [ jvandenaardweg , natfriedman , williamhgates ] = await Promise . all ( [ scraper . run ( 'https://www.linkedin.com/in/jvandenaardweg/' ) , scraper . run ( 'https://www.linkedin.com/in/natfriedman/' ) , scraper . run ( 'https://www.linkedin.com/in/williamhgates/' ) , ] ) ; await scraper . close ( ) ; console . log ( jvandenaardweg , natfriedman , williamhgates ) ; } ) ( ) ;