Web Scraper GUI is a Python program that allows users to scrape information from a specified URL and save the extracted content to a Word document (DOCX). The program uses a simple graphical user interface (GUI) built with the tkinter library for user interaction.
- Input a URL through the GUI.
- Fetch HTML content from the provided URL.
- Extract information (title and paragraphs) from the HTML content.
- Save the extracted information to a Word document (DOCX).
- Python 3.x
- Requests library:
pip install requests
- BeautifulSoup library:
pip install beautifulsoup4
- python-docx library:
pip install python-docx
- tkinter library (usually included with Python)
-
Clone or download the repository to your local machine.
-
Install the required libraries:
pip install requests beautifulsoup4 python-docx
-
Run the program:
python web_scraper_gui.py
-
Enter the URL in the provided entry field and click the "Scrape" button.
-
The extracted information will be saved to a file named
Output.docx
in the same directory.
If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request. Contributions are welcome!