A simple Python script with a GUI built using tkinter to extract unique email addresses from a given website URL.
The Email Extractor is a Python script designed to scrape email addresses from a specified webpage and store them in a CSV file. It removes duplicate email addresses and creates a CSV with two columns: the original email address and a modified version without numbers.
- Extracts email addresses from a webpage.
- Removes duplicate email addresses.
- Saves data to a CSV file in the user's Downloads folder.
- Provides a simple user interface using tkinter.
- Python 3.x
- The
requests
library
- Clone this repository to your local machine.
git clone https://github.com/your-username/email-extractor.git
cd email-extractor
- Install the required Python libraries:
pip install requests
- Run the script:
python email_extractor.py
-
A GUI window will open, prompting you to input the following information:
- Website URL: Enter the URL from which you want to extract email addresses.
- Output filename (without extension): Choose a name for the CSV file where the results will be stored.
-
Click the "Extract Emails" button.
-
The script will extract the email addresses, remove duplicates, and save the data to a CSV file in your Downloads folder.
- The script appends to the CSV file, so if you use the same output filename, the data will be added to the existing file.
- Each time you extract emails, a new CSV file is created with a unique filename.
This project is licensed under the MIT License. See the LICENSE file for details.
- Shahbaz Riaz Abasi (https://github.com/shahbazabbasi414)
Feel free to contribute and improve this project by submitting issues and pull requests. Happy email extracting!
Remember to replace "your-username" and "email-extractor" with your actual GitHub username and repository name. You can further customize the README by adding images,
examples, or any other information you think would be helpful to users and contributors.
![image](https://github.com/shahbazabbasi414/Get-Email-and-User-Name-from-URL-And-Export-CSV/assets/48981214/9c9a2ae9-6536-40c9-aab3-ce0e663083af)