This is a basic demo web scrapping project to scrape quotes from http://quotes.toscrape.com.
This Python script demonstrates a simple web scraping project using the requests
library to fetch data from http://quotes.toscrape.com. The script uses BeautifulSoup
to parse the HTML content and extracts quotes along with their authors.
-
Clone the repository:
git clone https://github.com/your-username/web-scraping-quotes.git
-
Navigate to the project directory:
cd web-scraping-quotes
-
Run the script:
python scrape_quotes.py
-
View the scraped quotes in the console.
Install the dependencies using:
pip install requests beautifulsoup4
Scraped Quotes:
1. “The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.” - Albert Einstein
2. “It is our choices, Harry, that show what we truly are, far more than our abilities.” - J.K. Rowling
3. “There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.” - Albert Einstein
...
Feel free to customize this README file according to your preferences and include any additional information you'd like to showcase.