itsApurba / linkedin-experience

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linkedin Experience 🏒πŸ‘₯

Installation πŸš€

Follow these steps to set up and run the project on your local machine.

Prerequisites

Make sure you have the following prerequisites installed on your machine:

Clone the Repository

git clone https://github.com/itsApurba/linkedin-experience

Navigate to the Project Directory

cd linkedin-experience

Install Dependencies

npm i

Configuration βš™οΈ

1. Setting Up the Cookie πŸͺ

  1. Install EditThisCookie Extension:

  2. Login to LinkedIn:

    • Log in to your LinkedIn profile using the browser where you've installed the extension.
  3. Export the Cookie:

    • Export the cookie from the EditThisCookie extension.
  4. Create auth File:

    • Create a file named auth in the root directory (if not present).
    • Open the recently downloaded cookie file and copy paste the cookie into the auth file.

2. Adding the links

  • Add the all the links to startUrls variable in the main.js file.
  • Use https://arraythis.com to convert multiple links as an array.

Run the Script ▢️

Execute the following command to run the script:

npm start

Output File Location πŸ“‚

The output file will be generated at ./storage/key_value_stores/default/data.csv.

Known Bugs πŸ›

Cookie Expiration:

  • Issue:

    • Cookies generated for LinkedIn may expire after a certain period.
  • Solution:

    • Periodically regenerate the LinkedIn cookie when you encounter issues due to cookie expiration.
    • Repeating the setup process (refer to Setting Up the Cookie) by generating a new cookie through the provided steps will resolve this issue.
  • Note:

    • Periodic regeneration of the cookie is recommended.

About


Languages

Language:JavaScript 65.2%Language:Dockerfile 34.8%