Scrapped paginated data exported out of order

I am scraping first 7 pages (out of 56) but once it exports the data they are all out of order. You can see in the image below that the numbers are all out of order.

This is for a workout and I want all of the exercises to be in order. Sadly you need to login to see the workouts.

When you scrape a single page it shows everything in order but once you add multiple pages they become out of order.

exported data

workout table and pagination button:

Sitemap:

{"_id":"chiseled-weight-loss","startUrl":["https://www.bodybuilding.com/workout-plans/rsp-chiseled-sculpt-your-best-body-in-8-weeks/day/[1-7]"],"selectors":[{"id":"workout part","type":"SelectorText","parentSelectors":["_root"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"exercise part","type":"SelectorElement","parentSelectors":["_root"],"selector":"div.cms-article-list__content--container","multiple":true,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["exercise part"],"selector":"a.cms-article-workout__exercise--title","multiple":false,"regex":"","delay":0},{"id":"info","type":"SelectorText","parentSelectors":["exercise part"],"selector":"div.cms-article-workout__exercise--description","multiple":false,"regex":"","delay":0},{"id":"sets and rep","type":"SelectorText","parentSelectors":["exercise part"],"selector":".cms-article-workout__sets--definition span","multiple":false,"regex":"","delay":0},{"id":"superset title","type":"SelectorText","parentSelectors":["exercise part"],"selector":"div.cms-article-list__content--group-title","multiple":false,"regex":"","delay":0},{"id":"superset description","type":"SelectorText","parentSelectors":["exercise part"],"selector":"div.cms-article-list__content--group-description","multiple":false,"regex":"","delay":0}]}

Edit:
oh even when I only scrape one page the exercises get scraped out of order (Compare it to the screenshot of the workout above)

Edit 2:
Seems like changing the delay for page load and interval makes a difference but even putting both on 10 seconds and watching the entire page load the outcome is still everything out of order.

How can I fix this and make sure the data come out in order?

I have added a lot more info but still can't find the solution to it. I used another scraper and exercise names come out in order but the rows of other info go out of order.

So in data preview everything is coming out correctly but once it is scraped it seems like things go out of order.

@laserCat I couldn't view the table in the website because a log-in/subscription is required, but you have to know that the Web Scraper returns data in pseudo-random order.

I believe I emailed you today. I can send you the login info.

Is there a way to get the scraper to return all of the pseduo items in order?

This is standard behavior for WS desktop. I don't know why it works like that. One fix is to sort by the "web-scraper-order" column using Excel or similar. On Cloud Scraper, I believe results are sorted by scrape order.

1 Like