linkedtales / scrapedin

LinkedIn Scraper (currently working 2020)
Apache License 2.0
597 stars 174 forks source link

Scraper fails when profile is unavailable #163

Open domus71 opened 3 years ago

domus71 commented 3 years ago

From LinkedIn, I receive that the current profile is not available and scraper fails with the following error:

TypeError: Cannot read property 'name' of undefined at module.exports (D:\nodejs\XXXXX\node_modules\scrapedin\src\profile\cleanProfileData.js:5:23) at module.exports (D:\nodejs\XXXXX\node_modules\scrapedin\src\profile\profile.js:79:26) at processTicksAndRejections (internal/process/task_queues.js:97:5)