linkedin2username
linkedin2username copied to clipboard
Added cookie functionality
Problem
I was having a weird problem with LinkedIn where every time I logged out and logged back in I would get a pop-up asking me to confirm my email and phone number. This obliviously created a problem for using this tool, as after successfully authenticating to LinkedIn, I would not be redirected to '/feed' but to the pop-up which causes the script to exit.
Solution
This pull request adds the ability use a Netscape formatted cookie file with the tool, instead of having the tool authenticate with a username/password combo. It also adds a scripts
folder with a python script to convert a json python dictionary to the needed Netscape cookie file format.