If you want to get the posts links after you search a keyword in contents, then can use datakund library. Below are the steps to follow:-
- Install datakund
pip install datakund
2. Import datakund and login to linkedin. You can see here to login with cookies.
3. Search the keyword on linkedin in content
4. Get the posts links now by calling simple function posts_links