Web scraping practice site
A small made-up shop for learning and testing web scraping. It has 72 products on 3 pages, it is free, and you can use any tool or language you like.
What is on the page
- 72 products, 24 on each of 3 pages, in the same repeated card layout.
- Several fields per product: name, category, price, rating, stock and a photo.
- Uneven data on purpose: some products have an old price next to the new one, some are out of stock.
- A normal pager: page numbers, plus Previous and Next links (
rel="next").
Five exercises
- One page: collect the name and price of all 24 products on page 1.
- All pages: follow Next and end up with exactly 72 rows, with no repeats.
- Two prices: put the current price and the old price in separate columns, empty when there is no old price.
- Clean numbers: turn prices and ratings into numbers you can sort in a spreadsheet.
- Filter: list the products that are out of stock, by category.
Ways to do it
- No code: install the Grabby Chrome extension, choose Scrape List, click one product, pick Pagination and click Next. The guide to scraping multiple pages walks through it.
- Spreadsheet: see website data in Google Sheets and in Excel. Cards aren’t an HTML table, so this is a good test of what IMPORTXML can do.
- Code: the pages are plain HTML, so Python with Requests and Beautiful Soup, or Node with Cheerio, is enough.
Frequently asked questions
Is it OK to scrape this site?
Yes. The practice store exists to be scraped, with any tool or your own code. Please keep it gentle: the whole shop is three small pages.
Is the data real?
No. The products, prices, ratings and stock are made up. The photos are public domain (CC0).
Does it need JavaScript?
No. The products are in the HTML, so both a browser extension and a simple script can read them.
Can I use it in a class or a tutorial?
Yes, freely. No permission or credit is needed.