In this tutorial, we will show you how to scrape new or used books and other products from the ThriftBooks website!

ThriftBooks was founded in 2003 in the United States and has since sold over 165 million books on its e-commerce platform. Although ThriftBooks hosts its own e-commerce website, they also sell used books on Amazon and eBay. ThriftBooks also offers used DVDs, CDs, video games, and old tapes which are often purchased online as collectibles. Aside from collectibles, many consumers purchase from ThriftBooks to save money when buying desired book titles and media.

Let’s begin scraping ThriftBooks!

Step 1: Extracting Products

  1. Firstly, open ParseHub on your PC, Mac or Linux system.
  2. Click “New Project” on the ParseHub application to start a new project.
  3. Enter the ThriftBooks URL you wish to scrape from, we will be scraping all new and used bestsellers with this URL:
  4. Click the first book’s title to extract it, the rest should turn yellow.
  5. Click the next book’s title to train the algorithm, all 30 books on this page should be extracted.
  6. Rename this selection on the left to “product”.

Step 2: Scraping Additional Details

  1. Begin by clicking the PLUS(+) button next to your product selection.
  2. Choose “Relative Select” and click the first book’s title.
  3. Now click the book’s author, to close the arrow.
  4. Rename this selection on the left to “author”.
  5. Redo this step for the price, and rename the selection to “price” on the left.

Note: to get even more book information, you will need to click into each book, create a new template, and scrape relative data with the Relative Select tool.

Step 3: Pagination

  1. To scrape from multiple pages, scroll all the way down until you see the page nav bar.
  2. Click the PLUS(+) button next to your page selection and choose “Select”.
  3. Click the next page button to extract it, and rename the selection to “pagination”.
  4. Expand the selection and delete the extraction.
  5. Click the PLUS(+) button next to your pagination selection and choose “Click”.
  6. Choose yes, as this is a next-page button.
  7. Finally, choose the additional amount of pages you wish to scrape. Choosing zero will scrape every single page!

Step 4: Begin Scraping

You are now ready to begin scraping on ParseHub’s servers!

First, click the green “Get Data” button on the left pane. You can Test, Run or Schedule your scrape. We chose to run the scrape a single time, but testing can be useful to parse through your project, and scheduling is great for monitoring prices and data.

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

Need help scraping e-commerce websites?

Contact our live chat support!

Happy Scraping! 💻