Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

li_at cookie to selenium session #19

Open
ghost opened this issue Aug 13, 2020 · 1 comment
Open

li_at cookie to selenium session #19

ghost opened this issue Aug 13, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Aug 13, 2020

Hi,

Hope you are all well !

Because of Linkedin's anti-scraping measures, it would be interesting to make the selenium browser look like an actual user. To do this, we need to add the li_at cookie to the selenium session.

Is it possible to add to recon-archy ?

Getting LI_AT

Navigate to www.linkedin.com and log in
Open browser developer tools (Ctrl-Shift-I or right click -> inspect element)
Select the appropriate tab for your browser (Application on Chrome, Storage on Firefox)
Click the Cookies dropdown on the left-hand menu, and select the www.linkedin.com option
Find and copy the li_at value

Setting LI_AT

$ export LI_AT=YOUR_LI_AT_VALUE

Cheers,
X

@shadawck
Copy link
Owner

Hello,
Thanks for opening this issue !

I don't really know if adding LI_AT cookies is really useful in my implementation, but it costs me nothing to add it. It will provide additional security and reliability.

I will write a method to automatically get and export LI_AT cookie (it will be available in the next version)

Have a good evening 🙂

@shadawck shadawck self-assigned this Aug 13, 2020
@shadawck shadawck added the enhancement New feature or request label Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant