Scrape LinkedIn Messages easily with few lines of python

If you are a hr manager or hiring on linkedin, then for sure you will be having the messages on linkedin for job application. If you want to analyse the data of messages for some purpose then here is the datakund library which makes it easy for you with a code of few lines. Following are the code blocks to move on:-

  1. Install datakund
pip install datakund

2. Import datakund and login to linkedin. You can see here to login with cookies.

3. Get the messages now by calling a simple function get_messages by passing profile_link