AliExpress is one of the biggest eCommerce websites in the world with a wide range of products. You can buy anything from electronics to clothes.
With low prices and great products, many buyers will choose to go to AliExpress over their competitors.
Since there’s a lot of product data available on AliExpress, we’ll show you how you can scrape it without any coding.
In order to web scrap an eCommerce website without any coding skills, you’ll need to download a free web scraper! While there are a handful of web scrapers available, we think you’ll enjoy ParseHub!
It’s free and easy to use and has a suite of features we think you’ll enjoy like cloud-based scraping, IP rotation, dropbox integration, scheduling and many more!
So let’s show you how you can scrape data from AliExpress.
Once ParseHub is downloaded and installed, click on the new project button, and submit the URL you want to scrape. In this case, it’ll be men's hoodies for sale on AliExpress.com
- Once the site is rendered, A select command will automatically be created. You will need to select the main element to this, in this case, it will look like this.
- Rename this selection to scroll
- Once you have the main Div selected you can add the scroll function. On the left sidebar, click the PLUS (+) sign next to the scroll selection, click on advanced, then select the scroll function.
- You will need to tell how long the software to scroll, depending on how big the page is you may need a bigger number. But for now, let’s put it 2 times and make sure it's aligned to the bottom.
- Now, Click on the plus sign next to your page command, and choose the select command. Click on the first product name on the page. The name you’ve clicked will become green to indicate that it’s been selected.
- The rest of the product names will be highlighted in yellow. Click on the second one on the list. Now all of the items will be highlighted in green.
- On the left sidebar, rename your selection to product. You will notice that ParseHub is now extracting the product name and URL for each product.
- On the left sidebar, click the PLUS(+) sign next to the product selection and choose the Relative Select command.
- Using the Relative Select command, click on the first product name on the page and then on its listing price. You will see an arrow connecting the two selections.
- Expand the new command you’ve created and then delete the URL that is also being extracted by default.
- Repeat these steps to also extract the product star rating, the number of reviews and how who is selling the item. Make sure to rename your new selections accordingly.
We have now selected all the data we wanted to scrape from the results page. Your project should now look like this. Feel free to pause this video to have a closer look.
Adding pagination
Now, you might want to scrape several pages worth of data for this project. So far, we are only scraping page 1 of the search results. Let’s set up ParseHub to navigate to the next 2 results pages.
- Click on the PLUS(+) sign next to the page selection and choose the Select command. Then select the Next page link at the bottom of the AliExpress page. Rename the selection to next.
- By default, ParseHub will extract the text and URL from this link, so expand your new selection and remove these 2 extract commands.
- Now, click on the PLUS(+) sign of your next selection and use the Click command.
- A pop-up will appear asking if this is a “Next” link. Click Yes and enter the number of pages you’d like to navigate to. In this case, we will scrape 2 additional pages.
Running your AliExpress web scraping project
Now that we are done setting up the project, it’s time to run our scrape job.
On the left sidebar, click on the Get Data button and click on the Run button to run your scrape. For longer projects, we recommend doing a Test Run to verify that your data will be formatted correctly.
After the scrape job is completed, you will be able to download all the information you’ve requested as a handy spreadsheet or as a JSON file.
Closing thoughts
You now know how to scrape product data from AliExpress and export it into an excel or JSON file
However, you might be looking to scrape a website we haven’t gone over yet or is giving you trouble while scraping.
In any case, feel free to reach out to us via the live chat on our site. We’ll be happy to assist you with any of your web scraping projects.
Related topics: