Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

methods.js:387 #28

Open
logistic-people-deutschland opened this issue Jan 3, 2023 · 0 comments
Open

methods.js:387 #28

logistic-people-deutschland opened this issue Jan 3, 2023 · 0 comments

Comments

@logistic-people-deutschland

npm start

[email protected] start
node index.js

Server setup: Setting up...
Adding helper methods to page
Server setup: All done. Listening on port 5001!
undefined
https://www.linkedin.com/in/barackobama/
Expanding all sections by clicking their "See more" buttons
.pv-profile-section.pv-about-section .inline-show-more-text__button false
#experience-section .pv-profile-section__see-more-inline false
.pv-profile-section.education-section .pv-profile-section__see-more-inline false
.pv-skill-categories-section .pv-profile-section__card-action-bar false
.pv-profile-section--certifications-section .pv-profile-section__see-more-inline false
C:\Python311\linkedin-profile-scraper-master\scraper\methods.js:387
throw new Error(error);
^

Error: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'split')
at getDates (C:\Python311\linkedin-profile-scraper-master\utils.js:130:38)
at returnDetailsByExperience (C:\Python311\linkedin-profile-scraper-master\utils.js:107:38)
at Page._onBindingCalled (C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:998:62)
at C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:152:60
at C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\vendor\mitt\src\index.js:51:62
at Array.map ()
at Object.emit (C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\vendor\mitt\src\index.js:51:43)
at CDPSession.emit (C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\puppeteer\common\EventEmitter.js:72:22)
at CDPSession._onMessage (C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:249:18)
at Connection._onMessage (C:\Python311\linkedin-profile-scraper-master\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:117:25)
at getData (C:\Python311\linkedin-profile-scraper-master\scraper\methods.js:387:11)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:533:9)
at process.processTimers (node:internal/timers:507:7)
at async C:\Python311\linkedin-profile-scraper-master\index.js:72:80

Node.js v18.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant