An open API service indexing awesome lists of open source software.

https://github.com/xenoswarlocks/web-scraper-names-and-emails

Web Scraper extracts names and emails from a webpage. "scraper.py" defines the extraction logic, while "main.py" implements the scraping process. Development ongoing.
https://github.com/xenoswarlocks/web-scraper-names-and-emails

Last synced: 3 months ago
JSON representation

Web Scraper extracts names and emails from a webpage. "scraper.py" defines the extraction logic, while "main.py" implements the scraping process. Development ongoing.

Awesome Lists containing this project

README

        

# Web-Scraper-Names-and-Emails
Web Scraper extracts names and emails from a webpage. "scraper.py" defines the extraction logic, while "main.py" implements the scraping process. Development ongoing.

# Web Scraper: Names and Emails

## Description:

This Python repository contains two files:

- **scraper.py:** Defines a Scraper class to extract names and emails from a webpage using requests and BeautifulSoup libraries.
- **main.py:** Utilizes the Scraper class to scrape a provided URL and save the extracted data into text files.

## Usage:

1. **Clone the Repository:** https://github.com/XenosWarlocks/Web-Scraper-Names-and-Emails.git

2. **Navigate to the Directory:** Dev

3. **Run the Script:**
- Execute the main.py script by running:
```
python main.py
```
- You'll be prompted to provide the URL of the webpage you want to scrape.

4. **Output Files:**
- After execution, the script generates two text files:
- `name.txt`: Contains the extracted names.
- `email.txt`: Contains the extracted email addresses.

## Note:
- Ensure Python is installed on your system.
- Adjustments may be needed based on the webpage structure.
- Use responsibly and respect website terms of service and data privacy policies.
- Development ongoing.