Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.53 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.53 KB

Webscrapping-project

This is a basic demo web scrapping project to scrape quotes from http://quotes.toscrape.com.

Web Scraping Quotes

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.

How to Use

  1. Clone the repository:

    git clone https://github.com/your-username/web-scraping-quotes.git
  2. Navigate to the project directory:

    cd web-scraping-quotes
  3. Run the script:

    python scrape_quotes.py
  4. View the scraped quotes in the console.

Dependencies

Install the dependencies using:

pip install requests beautifulsoup4

Sample Output

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.