ContactInfoScraper is a Python-based web scraping tool designed to automate the extraction of contact information (emails and phone numbers) from various websites, including social media platforms. With strong logging, error handling, and user-friendly output, it simplifies data collection for businesses and researchers. A batch file is included.
git clone https://github.com/ericsoto-exe/ContactInfoScraper.gitContactInfoScraper is a Python-based web scraping tool that automates extraction of contact information—emails and phone numbers—from websites and social media platforms like Facebook. The script validates URLs, searches associated pages and Google Maps/Yelp listings for additional contacts, and outputs results to a formatted Excel file with timestamped logging. It handles multiple URLs in batch, includes error tracking, and provides readable command-line output. Ideal for businesses, researchers, and marketers who need to collect contact data at scale without manual effort.
Install dependencies with pip install -r requirements.txt. Place target URLs in web_urls.txt or enter them directly when prompted. Run python contact_info_scraper.py to start scraping. Results save automatically to contacts.xlsx with a detailed log.txt file tracking all activities.
Building prospect lists for sales and outreach campaigns
Gathering competitor contact information for market research
Extracting business contacts from directory websites
Collecting contact data from social media business pages
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/ericsoto-exe/ContactInfoScraperCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to scrape contact information from websites in the [INDUSTRY] industry. Please provide a Python script using ContactInfoScraper to extract emails and phone numbers from [WEBSITE_URLS]. I want the output in a CSV file named [OUTPUT_FILENAME]. Also, include error handling and logging for debugging purposes.
# Contact Information Scraped from [INDUSTRY] Websites ## Extracted Emails - [email protected] - [email protected] - [email protected] ## Extracted Phone Numbers - (123) 456-7890 - 987-654-3210 - 555-123-4567 ## Summary - Total Emails Found: 3 - Total Phone Numbers Found: 3 - Errors Encountered: 0 - Time Taken: 2 minutes 30 seconds The data has been saved to [OUTPUT_FILENAME].csv. For any issues, check the log file at [LOG_FILE_PATH].
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan