{"id":21767193,"url":"https://github.com/situmorang-com/linkedin-scraper","last_synced_at":"2025-04-13T15:25:50.518Z","repository":{"id":102627527,"uuid":"233521973","full_name":"situmorang-com/LinkedIn-Scraper","owner":"situmorang-com","description":"Scraping LinkedIn using javascript in browser console","archived":false,"fork":false,"pushed_at":"2024-09-06T05:31:11.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T06:22:18.832Z","etag":null,"topics":["javascript","linkedin","linkedin-scraper","scraper","scraping-websites"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/situmorang-com.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":"2020-01-13T05:56:22.000Z","updated_at":"2024-09-06T05:31:14.000Z","dependencies_parsed_at":"2023-03-30T04:21:16.139Z","dependency_job_id":null,"html_url":"https://github.com/situmorang-com/LinkedIn-Scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/situmorang-com%2FLinkedIn-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/situmorang-com%2FLinkedIn-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/situmorang-com%2FLinkedIn-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/situmorang-com%2FLinkedIn-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/situmorang-com","download_url":"https://codeload.github.com/situmorang-com/LinkedIn-Scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248734145,"owners_count":21153156,"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":["javascript","linkedin","linkedin-scraper","scraper","scraping-websites"],"created_at":"2024-11-26T13:22:56.028Z","updated_at":"2025-04-13T15:25:50.495Z","avatar_url":"https://github.com/situmorang-com.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"contaHere is a `README.md` for your GitHub repository that presents the information in a clear and visually appealing format, similar to the example you provided:\n\n---\n\n# LinkedIn Profile Scraper\n\n![JavaScript](https://img.shields.io/badge/JavaScript-ES6+-brightgreen.svg)\n![JXA](https://img.shields.io/badge/JXA-Automation-blue.svg)\n![LinkedIn](https://img.shields.io/badge/LinkedIn-Scraper-orange.svg)\n\nA **JavaScript for Automation (JXA)** script to scrape profile data from **LinkedIn** directly from the active tab of your browser. This tool can extract key information such as name, job title, and current company from a LinkedIn profile, streamlining the process of data collection.\n\n## 🚀 Features\n\n- **Multi-browser support**: Works with Google Chrome, Arc, and Safari.\n- **Seamless integration**: Automatically detects the active browser and tab.\n- **Profile data extraction**: Scrapes the name, headline, company, and job title from LinkedIn profiles.\n- **Minimal setup**: No additional dependencies required.\n\n## 📋 Prerequisites\n\n- macOS (JavaScript for Automation is a Mac-only feature)\n- LinkedIn account\n- Supported browser: **Google Chrome**, **Arc**, or **Safari**\n\n## 📦 Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/yourusername/linkedin-profile-scraper.git\n   cd linkedin-profile-scraper\n   ```\n\n2. **Run the script using JXA:**\n   - Open the **Script Editor** on macOS.\n   - Copy and paste the JavaScript code into the editor.\n   - Click on the \"Run\" button.\n\n## 🛠️ Usage\n\n1. Open a LinkedIn profile in one of the supported browsers (**Google Chrome**, **Arc**, or **Safari**).\n2. Run the JXA script in **Script Editor**.\n3. The script will automatically detect the active browser tab and scrape the profile data if a LinkedIn profile is open.\n\n## 📜 Example Output\n\n```text\nName: John Doe\nTitle: Software Engineer at Tech Company\nCompany: Tech Company\nJob Title: Senior Software Engineer\nProfile URL: https://www.linkedin.com/in/johndoe/\n```\n\n## 🔍 How It Works\n\n1. **Browser Detection**: The script loops through the list of supported browsers to check if they are running and have an active window.\n2. **URL Verification**: It verifies if the active tab is a LinkedIn profile page (`linkedin.com/in/`).\n3. **Data Scraping**: Runs JavaScript in the browser context to extract:\n   - **Name** from the `.text-heading-xlarge` selector.\n   - **Title** from the `.text-body-medium` selector.\n   - **Experience Section**: Searches for the most recent job title and company by traversing the DOM structure.\n\n## ⚠️ Limitations\n\n- Works only on macOS with JXA.\n- Requires the user to be logged into LinkedIn.\n- May not work if LinkedIn changes its DOM structure or class names.\n\n## 👥 Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 📧 Contact\n\nFor more information or queries, please reach out to and send a message in my twitter (x): edmund7s\n\n---\n\nFeel free to replace placeholders like `yourusername`, `your-email@example.com`, and `LICENSE` with your actual details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitumorang-com%2Flinkedin-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsitumorang-com%2Flinkedin-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsitumorang-com%2Flinkedin-scraper/lists"}