Skip to content

fadihboubati/book-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Scraper

Book Scraper is a Python script that scrapes book information from the Books to Scrape website (http://books.toscrape.com/). It retrieves book titles, star ratings, prices, and availability for various book categories, and saves the data as a JSON file. The script includes functions for counting the number of books with a certain star rating, and for generating an API endpoint that combines book data from multiple categories.

Requirements

  • Python 3.6 or later
  • requests 2.25.1 or later
  • beautifulsoup4 4.9.3 or later

To install the required packages, you can run the following command:

pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published