This is a simple web scraping app built using Streamlit that scrapes quotes and their associated categories from QuoteFancy. Users can input a string, and the app will scrape relevant quotes from the website. Additionally, users can download the scraped data as a CSV file.
- Input any string to search for quotes.
- Scrape quotes from multiple pages (up to 10 pages).
- Display quotes along with their categories.
- Download the scraped quotes and categories as a CSV file.
- Enter a search string (for example,
motivation
,life
, etc.). - Click the Scrape Quotes button to fetch quotes and their categories.
- View the scraped quotes and categories in the Streamlit app.
- Optionally, download the results as a CSV file.
To run this project locally, follow these steps:
git clone https://github.com/your-username/quote-scraper-streamlit.git
cd quote-scraper-streamlit
# For Windows
python -m venv venv
venv\Scripts\activate
# For macOS/Linux
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
streamlit run app.py