{"id":17024551,"url":"https://github.com/ismaelfi/scrape-linkedin-posts","last_synced_at":"2025-07-07T08:36:23.705Z","repository":{"id":251015923,"uuid":"836147884","full_name":"ismaelfi/Scrape-Linkedin-Posts","owner":"ismaelfi","description":"Automated LinkedIn Post Scraper using Python, Selenium, and BeautifulSoup. Extract content, reactions, and comments from LinkedIn user posts and save them to a CSV file.","archived":false,"fork":false,"pushed_at":"2025-04-21T00:03:37.000Z","size":11,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T01:26:06.299Z","etag":null,"topics":["beautifulsoup","linkedin","linkedin-scraper","python3","script","selenium","selenium-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ismaelfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T08:48:30.000Z","updated_at":"2025-04-21T00:03:41.000Z","dependencies_parsed_at":"2024-07-31T10:20:27.346Z","dependency_job_id":null,"html_url":"https://github.com/ismaelfi/Scrape-Linkedin-Posts","commit_stats":null,"previous_names":["ismaelfi/scrape-linkedin-posts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaelfi%2FScrape-Linkedin-Posts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaelfi%2FScrape-Linkedin-Posts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaelfi%2FScrape-Linkedin-Posts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ismaelfi%2FScrape-Linkedin-Posts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ismaelfi","download_url":"https://codeload.github.com/ismaelfi/Scrape-Linkedin-Posts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250419379,"owners_count":21427590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beautifulsoup","linkedin","linkedin-scraper","python3","script","selenium","selenium-python"],"created_at":"2024-10-14T07:26:02.797Z","updated_at":"2025-04-23T10:44:05.734Z","avatar_url":"https://github.com/ismaelfi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linkedin Post Scraper \n\n## DISCLAIMER\n\nThis script is provided for educational purposes only. LinkedIn's terms of service prohibit scraping or any form of automated data collection.\nUsing this script to scrape LinkedIn's data is against their terms of service and can result in your account being banned.\nUse this script at your own risk. The author is not responsible for any misuse of this script.\n\n## Overview\n\nThis script uses Selenium and BeautifulSoup to scrape the latest posts from a specified LinkedIn user's activity page.\nIt extracts the content, reactions, and comments from each post and saves the data to a CSV file.\n\n## Requirements\n\nTo run this script, you need to install the following Python packages and tools:\n- Selenium: For web browser automation.\n- BeautifulSoup: For parsing HTML and extracting data.\n- Pandas: For data manipulation and exporting to CSV.\n- ChromeDriver: The WebDriver for Google Chrome.\n- Google Chrome Browser: The actual browser used by ChromeDriver.\n\n## Installation Guide\n\n### Step 1: Install Python Packages\nYou can install the required Python packages using pip. Run the following command in your terminal:\n ```sh\n pip install selenium beautifulsoup4 pandas\n ```\n\n### Step 2: Install Google Chrome\nDownload and install Google Chrome from the official website.\n\n### Step 3: Install ChromeDriver\nDownload ChromeDriver: Go to the ChromeDriver download page and download the version that matches your installed version of Chrome.\nInstall ChromeDriver:\nWindows: Extract the downloaded file and place chromedriver.exe in a directory that's included in your system's PATH, or specify the path in your script.\nmacOS and Linux: Extract the downloaded file and place chromedriver in a directory that's included in your system's PATH, or specify the path in your script.\n\n### Step 4: Create the Cookies File\nCreate a file named your_linkedin_cookies.txt in the same directory as the script.\nThis file should contain your LinkedIn cookies in Netscape format.\nYou can use browser extensions like \"EditThisCookie\" to export cookies from your LinkedIn session.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaelfi%2Fscrape-linkedin-posts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismaelfi%2Fscrape-linkedin-posts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaelfi%2Fscrape-linkedin-posts/lists"}