Ranork / Auto-Linkedin

Unoffical Linkedin Client NPM Package (Developed with Puppeteer)
https://www.npmjs.com/package/auto-linkedin
GNU General Public License v3.0
19 stars 2 forks source link

Added support for custom cookies #5

Closed Zonalds closed 2 days ago

Zonalds commented 2 days ago

Hello,

I added support for logging in using custom cookies. Managing logging using password can be a headache. There is support for cached cookies but not external cookies.

I added a support for external cookies using existing cookies that could be gotten from, say, chrome extensions.

it can be used as follows:

      await client.login(linkedInUsername, linkedInPassword, customCookies)

Let me know what you think.

Ranork commented 2 days ago

Looks cool! also thanks for clearing unnecessary spaces 😄

Zonalds commented 2 days ago

Awesome. It'd be great to update the NPM package ^_^