A simple Python web scraping project that extracts quotes from a website and stores them in a JSON file.
The project also includes functionality to filter and display quotes based on a specific tag.
- Scrapes quotes from multiple pages of a website
- Extracts:
- Quote text
- Author
- Tags
- Author detail page link
- Saves all scraped quotes to
scraped_data.json - Reads stored data from the JSON file
- Filters and displays quotes based on a user-provided tag
- Includes basic error handling for network requests
- Python
requestsβ for sending HTTP requestsbeautifulsoup4β for parsing HTML contentjsonβ for reading and writing structured data