Coder Social home page Coder Social logo

Is get_profile not working? about linkedin-api HOT 6 OPEN

Dr4k3z avatar Dr4k3z commented on June 2, 2024
Is get_profile not working?

from linkedin-api.

Comments (6)

Hakurei-git avatar Hakurei-git commented on June 2, 2024 3

@Hakurei-git Can you please tell me how can I clear the cookies and where is the location

In the linkedin_api directory there is a setting.py file where you can print the COOKIE_PATH and change it to where you want it to be

from linkedin-api.

ignacio-ferreira-dev avatar ignacio-ferreira-dev commented on June 2, 2024

Same happened to me, maybe linkedin changed something

from linkedin-api.

ignacio-ferreira-dev avatar ignacio-ferreira-dev commented on June 2, 2024

Update: I checked the error I am getting and I am getting:
<Response [999]>
Request denied

Which means the following:
It seems that LinkedIn blocks "bad" request with this 999 non-standard Status Code (they should better respond with 400 Bad Request and an explanation). Some reports that it comes from the HEAD method (which is similar to GET but does not request the body), or a missing header( Accept-Encoding), or the User-Agent header, or the source IP (from Heroku).

from linkedin-api.

Hakurei-git avatar Hakurei-git commented on June 2, 2024

Update: I checked the error I am getting and I am getting: <Response [999]> Request denied

Which means the following: It seems that LinkedIn blocks "bad" request with this 999 non-standard Status Code (they should better respond with 400 Bad Request and an explanation). Some reports that it comes from the HEAD method (which is similar to GET but does not request the body), or a missing header( Accept-Encoding), or the User-Agent header, or the source IP (from Heroku).

If the response 999 is displayed, the cookie is invalid. You can delete the file of the cookie

from linkedin-api.

j-j-gajjar avatar j-j-gajjar commented on June 2, 2024

@Hakurei-git
Can you please tell me how can I clear the cookies and where is the location

from linkedin-api.

ignacio-ferreira-dev avatar ignacio-ferreira-dev commented on June 2, 2024

It worked for me, just cleaned the cookies and it worked, thanks!

from linkedin-api.

Related Issues (20)

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.