Misaligned results after scrape

I am getting a misaligned result table after the scrape. The goal is to pull destination and price per night from the site

extraction graph

resoults

Sitemap:
{"_id":"condorentals","startUrl":["https://www.condorentals.com/search/rentals/"],"selectors":[{"delay":0,"id":"wrapper","multiple":true,"parentSelectors":["_root"],"selector":"table","type":"SelectorElement"},{"delay":0,"id":"destination","multiple":true,"parentSelectors":["wrapper"],"regex":"","selector":"h4 a","type":"SelectorText"},{"delay":0,"id":"PRICE PER NIGHT","multiple":true,"parentSelectors":["wrapper"],"regex":"","selector":"b","type":"SelectorText"}]}

Hi @DEDA1111

In order to fix that you should change the 'table' selector to tr and uncheck the 'Multiple' option for the child selectors.

Practical example:

{"_id":"condorentals","startUrl":["https://www.condorentals.com/search/rentals/"],"selectors":[{"delay":0,"id":"wrapper","multiple":true,"parentSelectors":["_root"],"selector":"tr","type":"SelectorElement"},{"delay":0,"id":"destination","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"h4 a","type":"SelectorText"},{"delay":0,"id":"PRICE PER NIGHT","multiple":false,"parentSelectors":["wrapper"],"regex":"","selector":"b","type":"SelectorText"}]}

1 Like