LinkedIn Spider is a powerful, user-friendly command-line tool that helps you collect and analyze LinkedIn profiles at scale. By leveraging Google Search instead of direct LinkedIn scraping, it significantly reduces the risk of account restrictions while providing comprehensive profile data.
- ๐ Smart Search - Find profiles via Google Search to avoid LinkedIn rate limits
- ๐จ Beautiful CLI - Interactive arrow-key menu navigation with ASCII art
- ๐ Data Export - Export to CSV, JSON, or Excel formats
- ๐ Secure - Environment-based configuration for credentials
- ๐ VPN Support - Optional IP rotation for enhanced privacy
- โก Fast & Efficient - Progress tracking and batch processing
- ๐ก๏ธ Anti-Detection - Random delays, user agents, and human-like behavior
- ๐ค CAPTCHA Handler - Automatic CAPTCHA detection with auto-resume
- ๐ฎ Interactive Menu - Navigate with arrow keys (โโ) and Enter
# Clone the repository
git clone https://github.com/alexcolls/linkedin-spider.git
cd linkedin-spider
# Run the installation script
./install.shThe installation script provides three options:
- System Installation - Installs globally as
linkedin-spidercommand - Development Installation - Installs locally with Poetry for testing
- Both - Installs both system and development modes
# Install dependencies with Poetry
poetry install
# Optional: Install with Excel support
poetry install -E excel
# Activate the virtual environment
poetry shellcp .env.sample .env
# Edit .env with your LinkedIn credentialsEdit config.yaml for advanced settings (delays, VPN, export format, etc.)
# If installed with system mode
linkedin-spider
# If installed with development mode
./run.sh
# Or with Poetry directly
poetry run python -m linkedin_spiderThe CLI provides an interactive menu with ASCII art and arrow-key navigation:
linkedin-spider # or ./run.shNavigation:
- Use โโ arrow keys to navigate
- Press Enter to select
- Or type the number directly
Menu options:
- ๐ Search & Collect Profile URLs
- ๐ Scrape Profile Data
- ๐ค Auto-Connect to Profiles
- ๐ View/Export Results
- โ๏ธ Configure Settings
- โ Help
- ๐ช Exit
# Search for profiles
linkedin-spider search "Python Developer" "San Francisco" --max-pages 10
# Scrape profiles from file
linkedin-spider scrape --urls data/profile_urls.txt --output results --format csv
# Show version
linkedin-spider versionTo remove LinkedIn Spider from your system:
./uninstall.shThis will:
- Remove the system command (if installed)
- Clean up Poetry virtual environments
- Optionally remove .env and data files
LinkedIn Spider automatically detects and handles Google CAPTCHA challenges:
- Automatic Detection: Instantly detects when CAPTCHA appears
- Clear Instructions: Shows what to do in the terminal
- Auto-Resume: Automatically continues when CAPTCHA is solved (no manual Enter press needed!)
- Progress Updates: Shows elapsed time every 10 seconds
- Smart Polling: Checks every 2 seconds for resolution
- Timeout Protection: 5-minute maximum wait with fallback
All data is saved in the data/ folder in your current working directory:
- Profile URLs:
data/profile_urls.txt - Exported profiles:
data/profiles_YYYYMMDD_HHMMSS.csv/json/xlsx - Logs:
logs/linkedin-spider.log
- Terms of Service: This tool is for educational purposes. Always comply with LinkedIn's Terms of Service.
- Rate Limiting: Use appropriate delays to avoid overwhelming servers.
- Privacy: Respect privacy. Only collect publicly available information.
- Usage: Use this tool responsibly and ethically.
MIT License - see LICENSE file for details.
Built with Selenium, Typer, Rich, and Poetry.
- Issues: GitHub Issues
- Discussions: GitHub Discussions
If this project helped you, please consider:
- โญ Starring the repository
- ๐ Reporting bugs
- ๐ก Suggesting features
- ๐ค Contributing code
- ๐ข Sharing with others
|
|
|
|
|
|
|
____ | ,
/---.'.__ | ____//
'--.\ | /.---'
_______ \\ | //
/.------.\ \| | .'/ ______
// ___ \ \ ||/|\ // _/_----.\__
|/ /.-.\ \ \:|< >|// _/.'..\ '--'
// \'. | \'.|.'/ /_/ / \\
// \ \_\/" ' ~\-'.-' \\
// '-._| :H: |'-.__ \\
// (/'==='\)'-._\ ||
|| \\ \|
|| \\ '
|/ \\
||
||
\\
'
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโชโโชโโชโโโโโโโโโโโ
โ โ
โ โโโ โโโโโโโ โโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโ โโโ โ
โ โโโ โโโโโโโโ โโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โ
โ โโโ โโโโโโโโโ โโโโโโโโโโ โโโโโโ โโโ โโโโโโโโโโโโ โโโ โ
โ โโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโ โโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโ โโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โ
โ โโโโโโโโโโโโโโ โโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโ โ
โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโโโโโโ ^.-.^ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ '^\+/^` โ
โ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโ โโโโโโโโ '/`"'\` โ
โ โโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโ โโโโโโโโ โ
โ โโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโ โ
โ โโโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโโ โโโ โ
โ โโโโชโโโชโโชโโชโโโโชโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Professional Network Profile Scraper โ
โ โโโ Weaving Through Networks โโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Made with โค๏ธ and ๐ Python
Get Linkedin profiles at scale
ยฉ 2022 LinkedIn Spider | MIT License