Skip to content

Imshivam1/Webscrapping-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages