How to Scrape DIY.com Product Listings data (Step-by-Step Guide)

How to scrape DIY.com product listings data using Web Scraper

DIY.com is the online store of the British home improvement retailer B&Q, and it also sells products from marketplace sellers. Its category and search pages list the products, and each product page holds the full record: price, was price, brand, product code, GTIN, rating and review count, features, description, images, the seller and shipping details, and specifications such as weight, material, color, size and style. This guide shows how to collect that data with Web Scraper, either with the ready-made DIY.com scraper or with your own sitemap.


Video Tutorial

You can also explore the full Web Scraper scraping tutorials playlist:

Full How to Scrape Playlist

What data you get from DIY.com listings

product_url
product_name
sku
brand
gtin
price
original_price
discount_price
currency
rating
review_count
features
description
description_html
main_image
images
seller_name
seller_url
shipping_info
weight
weight_unit
color
size
material
style
badges
availability

Here is what a few rows look like, from the scraper's sample run on a search for straight bathtubs in October 2026.

brand price currency rating review_count material weight weight_unit
UK Bathrooms Essentials 219.99 gbp 5 1 25 kg
Balterley 159.99 gbp Acrylic 18.4 kg
Aveli 184.97 gbp 5 1 Acrylic
Balterley 139.99 gbp 5 5 Acrylic

Prices come as plain numbers, with the currency in a separate column. The scraper returns what each product page shows, so a product without reviews has no rating, and a specification the page doesn't list, such as the weight, stays empty. Every product in this sample came from a marketplace seller: shipping_info reads "Sold & shipped by" followed by the seller's name and the note "Available online only and not stocked in B&Q stores".

Method 1: Use the ready-made DIY.com scraper

The DIY.com product listings scraper in the Web Scraper Marketplace is already set up for DIY.com category and search pages. You give it category URLs, and it loads every page of results, opens each product and extracts the fields above.

Start from DIY.com category pages, for example:

  • https://www.diy.com/departments/heating-plumbing-cooling/air-treatment/extractor-fans/DIY822369.cat
  • https://www.diy.com/electrical-security/tv-audio-networking/tvs.cat

The scraper also accepts search pages, but DIY.com's robots.txt disallows them (/search?), so this guide uses category pages.

Method 2: Build your own DIY.com sitemap

Build it with the free Web Scraper browser extension:

  1. Open a DIY.com category page, such as https://www.diy.com/departments/heating-plumbing-cooling/air-treatment/extractor-fans/DIY822369.cat.
  2. Open Web Scraper and let the AI Sitemap Wizard map the product cards in the product list.
  3. Use the Load more button as the pagination element, so the sitemap goes through the whole product list.
  4. Follow the link on each product card to the product page, and add the field selectors there. Every field in the table above comes from the product page, not from the product card.
  5. Brand, product code, weight, material and style come from the specifications table on the product page. Select the value next to each label.

What to plan for when scraping DIY.com

These are the settings of the ready-made DIY.com scraper.

Bot protection None detected
Response to a request that identifies itself as a bot (November 2026) Page served (HTTP 200)
Browser check / fingerprinting script No third-party detection script in the page
robots.txt (for crawlers the site doesn't name) Allows category pages; disallows search pages (/search?)
XML sitemaps One index listed, with product sitemaps of 50,000 products each
JavaScript Required
Proxy Web Scraper Cloud's built-in datacenter proxies
Request interval 2 seconds
Page load delay 2 seconds
Average page size About 105 KB
Pagination The Load more button on category and search pages
Start URLs Category pages (robots.txt disallows search pages)
Difficulty Low: no bot management detected, and datacenter proxies are enough

Checked on November 24, 2026.

Start from categories or the product sitemaps

A category URL collects one department. For wider coverage, DIY.com lists its product pages in XML sitemaps of 50,000 products each, linked from the sitemap index in its robots.txt. In your own sitemap, the Sitemap.xml selector can start from those files and open each product page directly.

Was prices and discounts

original_price is filled when the product page shows a was price, and discount_price only when it shows a saving. For products at their regular price, both stay empty, as in the sample above.

Keep DIY.com data current with Web Scraper Cloud

Prices change, promotions start and end, and products go in and out of stock. To follow those changes, run the same category pages on a schedule and compare the runs. How to track promotions across online stores shows how to spot new and ended promotions between runs.

Popular E-commerce Scrapers

Web Scraper also provides ready-made scrapers for other e-commerce platforms.

Browse the full scraper library: Web Scraper Marketplace.

Related Scraping Guides

If you want to learn how to scrape other websites, these guides may also be useful.

Browse all scraping tutorials in the Web Scraper Blog.

Common use cases for DIY.com data

Price and promotion tracking

Run the same pages on a schedule and follow price, original_price, discount_price and badges for each product.

Marketplace seller tracking

See which sellers list products in a category, using the seller name, seller URL and shipping details.

Product catalog audits

Match products with other retailers' catalogs by GTIN, and check brand, product code and specifications such as weight and material.

Brand monitoring

Filter by brand to see which products and sellers carry a brand on DIY.com, and how those products are rated.

FAQ

Does the scraper collect marketplace sellers?

Yes. seller_name, seller_url and shipping_info show who sells and ships each product.

Why are original_price and discount_price empty?

They're filled only when the product page shows a was price or a saving. Products at their regular price leave both empty.

Why are some ratings empty?

The scraper returns what each product page shows. A product without reviews has no rating or review count.

Is it legal to scrape DIY.com?

DIY.com product pages are publicly visible. Review DIY.com's terms of use and the data protection rules that apply to you before you collect and store the data.

Conclusion

The ready-made DIY.com scraper collects products from DIY.com category pages, and Web Scraper Cloud keeps that data current on a schedule. Start with one category, check the first rows, then add more pages to cover the products you need.

Go back to blog page