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.
- Host: GitHub
- URL: https://github.com/xenoswarlocks/web-scraper-names-and-emails
- Owner: XenosWarlocks
- License: mit
- Created: 2024-05-02T23:42:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-02T23:46:36.000Z (about 1 year ago)
- Last Synced: 2024-12-29T02:04:01.901Z (5 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.