Git Product home page Git Product logo

Comments (6)

VishwaGauravIn avatar VishwaGauravIn commented on August 22, 2024

Hi @navinp0304
Thanks for raising this issue, it has been fixed.
Please try updating it now.

from linkedin-jobs-api.

navinp0304 avatar navinp0304 commented on August 22, 2024

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.

VishwaGauravIn avatar VishwaGauravIn commented on August 22, 2024

can you please share a screen recording? Showing what you are trying to do, the test code and index code

from linkedin-jobs-api.

navinp0304 avatar navinp0304 commented on August 22, 2024

image

from linkedin-jobs-api.

VishwaGauravIn avatar VishwaGauravIn commented on August 22, 2024

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.

navinp0304 avatar navinp0304 commented on August 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.