In this tutorial, we will show you how to easily scrape Canadian Tire products (in a single step) for free, using ParseHub, our visual web scraper!

The Canadian Tire Corporation is a retail company that was founded over 100 years ago in 1922. Canadian Tire owns retail and e-commerce stores that sell a variety of products from automotive parts, home hardware, sporting goods and much more; similar to its competitors, The Home Depot, Walmart, and Lowe’s. They also operate over 297 gas stations, 386 Mark’s clothing stores, 191 SportChek locations and even Party City retail stores!

If you’re ready to scrape Canadian Tire’s products from their website, let’s get started!

Step 1: Scraping Canadian Tire Products

  1. Firstly, open ParseHub on your PC, Mac or Linux system.
  2. Create a new project by clicking the blue “New Project” button.
  3. Enter the Canadian Tire URL you wish to scrape from, we will be scraping power saws with this URL: https://www.canadiantire.ca/en/cat/tools-hardware/power-tools/saws-DC0002013.html
  4. When the page loads, click the first product’s name to extract it, it should turn green.
  5. The rest of the products will be yellow, click the next one to train the ParseHub algorithm.
  6. All 40 products on the first page should be extracted, rename this extraction to “product” on the left.
Scraping Canadian Tire Product Product Names
Scraping Canadian Tire Product Product Names

Step 2: Scraping Product Prices

  1. Start by clicking the PLUS(+) button next to the “product” extraction you just made.
  2. In the menu, choose “Relative Select” and click the first product’s name again.
  3. Move your cursor to the respective product’s price and click to close the arrow.
  4. All 40 prices should now be extracted, relative to each product!
  5. Rename this extraction on the left to “price”.
  6. Expand the extraction and delete the URL selection as it’s redundant.
Scraping Canadian Tire Product Pricing
Scraping Canadian Tire Product Pricing

Step 3: Scraping Ratings and Other Data

  1. Once again, click the PLUS(+) button next to your “product” selection and choose “Relative Select”.
  2. Click the first product’s name and move the arrow to the rating.
  3. Click the rating and repeat this step for the second product to train the algorithm.
  4. All ratings should now be extracted, rename the selection to “rating” on the left.
  5. Expand the rating extraction and remove the URL as it’s a redundant URL.
  6. Redo these steps for other relative data you require, such as the product ID.
Scraping Canadian Tire Product Ratings
Scraping Canadian Tire Product Ratings

Step 4: Pagination

If you’d like to scrape and parse through multiple pages, you need to use ParseHub’s pagination.

  1. Begin by scrolling all the way down the webpage until you see the navigation bar.
  2. Click the PLUS(+) button next to your “page” selection. (not to be confused with the “product” selection we made earlier).
  3. Choose “Select” and click the next page chevron button.
  4. Rename this selection to “pagination” and expand it to delete the extractions.
  5. Click the PLUS(+) button next to the “pagination” selection and choose “Click”.
  6. Choose “Yes” on the popup as this is a next page button.
  7. Now you can choose the additional amount of pages you’d like to scrape, we chose 1 which means 2 pages in total!
Pagination for Canadian Tire Scraping
Pagination for Canadian Tire Scraping

Start Canadian Tire Product Scraping

Now that your products are correctly extracted, you are relatively selecting prices and other data, and have set up pagination, you are ready to begin scraping!

Begin by clicking the green “Get Data” button on the left pane. You can choose to Test, Run or Schedule your scrape. In our case, we chose Run to scrape a single time, which resulted in two pages of data, as specified in the pagination step.

If you followed our guide, your data should look similar to this:

Candian Tire Scrape Results
Candian Tire Scrape Results

Running into scraping issues? Feel free to contact our live support.

Here are some additional tutorials you make be interested in!

Happy Scraping! 💻