This project searches for LinkedIn profile links through SerpApi and exports the collected URLs to:
JSONExcel- clickable
PDF
Run the script with:
set SERPAPI_API_KEY=your_api_key
venv\Scripts\python.exe profile_scrap_new.pyAt startup, a small GUI prompt lets you change the search query and the maximum number of links to collect.
The CLI and Telegram bot both require a SERPAPI_API_KEY.
There is also a Telegram bot entrypoint now:
venv\Scripts\python.exe telegram_scraper_bot.py --token <your-bot-token> --api-key <your-serpapi-key>Commands:
/start/help/scrape <query>/scrape <max_profiles> <query>/statusshows bot health, uptime, current job state, and latest completed job/latest
Bot-triggered export files are stored under bot_runs/.
For full VPS deployment instructions, see DEPLOY_TELEGRAM_BOT.md.
For Railway deployment, see DEPLOY_RAILWAY.md.