josephlimtech / linkedin-profile-scraper-api

🕵️‍♂️ LinkedIn profile scraper returning structured profile data in JSON.
MIT License
567 stars 152 forks source link

How to fix timeout error #33

Open ghost opened 3 years ago

ghost commented 3 years ago

image

After running my app the following error shows: "UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 10000 ms exceeded"

I have also tried out by installing puppeteer and overwriting the default "timeout: 10000" through this way: "page.setDefaultNavigationTimeout(0);"

but nothing happens. this error still persists. How to fix that?

fsuaterdogan commented 3 years ago

Did you fix?

jrayga commented 3 years ago

image

There's a timeout option in LinkedInProfileScraper Object. Maybe adjust that one?

adedejiibrahim7 commented 2 years ago

Adjusting the timeout value did not fix this.