austinoboyle / scrape-linkedin-selenium

`scrape_linkedin` is a python package that allows you to scrape personal LinkedIn profiles & company pages - turning the data into structured json.
MIT License
463 stars 164 forks source link

li_at token expires after 15 minutes #109

Open kalmanlukelin opened 11 months ago

kalmanlukelin commented 11 months ago

Hi, it seems that li_at token would expire after 15 minutes. Although it says that it would expire in a year in the official doc. Any suggestion to extend the lifetime of the cookie instead of refreshing it manually? https://www.linkedin.com/legal/l/cookie-table

turk commented 9 months ago

When you take the cookie, you shouldn't use the account on a browser. Also, try to use the same proxy and user agent

If you are considering using a paid solution, I suggest you have a look at our API. https://rapidapi.com/rockapis-rockapis-default/api/linkedin-api8

wisdomcsharp commented 5 months ago

This part gave me one of the biggest headaches.... I've tried outreach tools like Linkedly AI — I dont know how they managed to get it working, but it works