Comments (6)
Hi @navinp0304
Thanks for raising this issue, it has been fixed.
Please try updating it now.
from linkedin-jobs-api.
Still not working.
node test.js
/home/navin/js/linkedin-jobs-api/index.js:16
this.keyword = queryObj.keyword?.trim().replace(" ", "+") || "";
^
SyntaxError: Unexpected token '.'
from linkedin-jobs-api.
can you please share a screen recording? Showing what you are trying to do, the test code and index code
from linkedin-jobs-api.
from linkedin-jobs-api.
I am not sure why it is occurring, I have tried running it multiple times on multiple devices and it works fine on them. Please make sure that you are using the latest version of node js v20
from linkedin-jobs-api.
Looks like my nodejs was old version 12 which i got by install apt-get install nodejs.
But now i get different error with version 20.
node test.js
https://www.linkedin.com/jobs-guest/jobs/api/seeMoreJobPostings/search?&location=India&f_TPR=r604800&f_SB2=4&f_E=2&f_WT=2&f_JT=F&start=0&sortBy=DD
AxiosError: Request failed with status code 429
at settle (/home/navin/js/linkedin-jobs-api/node_modules/axios/dist/node/axios.cjs:1966:12)
at IncomingMessage.handleStreamEnd (/home/navin/js/linkedin-jobs-api/node_modules/axios/dist/node/axios.cjs:3065:11)
at IncomingMessage.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/home/navin/js/linkedin-jobs-api/node_modules/axios/dist/node/axios.cjs:3876:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Query.getJobs (/home/navin/js/linkedin-jobs-api/index.js:129:24) {
code: 'ERR_BAD_REQUEST',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
from linkedin-jobs-api.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkedin-jobs-api.