TiaDay/books-to-scrape-page1
Books to Scrape – Page 1 Dataset Summary Book records scraped from the first page of the Books to Scrape demo site.I created this dataset for a class assignment to practise web scraping, pandas, and publishing a dataset to the Hugging Face Hub. Data Collection Source: https://books.toscrape.com/ (public test site for scraping practice) Method: requests.get("https://books.toscrape.com/catalogue/page-1.html") Parsed with BeautifulSoup, selecting each… See the full description on the dataset page: https://huggingface.co/datasets/TiaDay/books-to-scrape-page1.
Books to Scrape – Page 1
Dataset Summary
Book records scraped from the first page of the Books to Scrape demo site. I created this dataset for a class assignment to practise web scraping, pandas, and publishing a dataset to the Hugging Face Hub.
Data Collection
- Source: https://books.toscrape.com/ (public test site for scraping practice)
- Method:
requests.get("https://books.toscrape.com/catalogue/page-1.html") - Parsed with
BeautifulSoup, selecting each<article class="product_pod">.
Columns
Original scraped fields:
titleprice_textavailability_textrating_text
Augmented / derived fields:
price_gbp– numeric price in GBPin_stock– True if availability contains “In stock”rating_numeric– star rating mapped to 1–5is_expensive– True ifprice_gbp> 30title_length– length of the title string
Intended Use & Limitations
- For educational use only (learning scraping and data processing).
- Small demo dataset from a fake site – not suitable for real analysis or production models.
Licensing & Compliance
- Data originates from the public “Books to Scrape” demo website.
- No personal or sensitive information is included and no login was required.
- Processed CSV and this documentation are released under the MIT license.
