How to get different datapoints in same row after scrapping - TripAdvisor

Describe the problem.

I'm trying to get info regarding city attractions from Tripadvisor, but can't find a way to make that datapoints from the same attraction gets aligned in the same table row after exporting:

Info needed

Results

Could you guys help me out to understand what's going on?

Thanks in advance

Url: https://www.tripadvisor.com/Attractions-g60763-Activities-New_York_City_New_York.html

Sitemap:
{"_id":"things_to_do_tripadvisor","startUrl":["https://www.tripadvisor.com/Attractions-g60763-Activities-New_York_City_New_York.html","https://www.tripadvisor.com/Attractions-g34438-Activities-Miami_Florida.html"],"selectors":[{"id":"AttractionName","type":"SelectorText","parentSelectors":["Element"],"selector":"span h3","multiple":false,"regex":"","delay":0},{"id":"AttractionImage","type":"SelectorImage","parentSelectors":["Element"],"selector":"li:nth-child(1) img","multiple":false,"delay":0},{"id":"Element","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"[data-automation=\"AppPresentation_WebCategoryListShelf\"] span[data-ft]","multiple":true,"delay":"5000"}]}

@dariel Hi.

For the Element-Scroll selector, you could use section[data-automation="AppPresentation_WebCategoryListShelf"] > div > span[data-ft="true"] > div span[data-ft="true"] instead and for the "Attraction" name - span[name="title"].

Sitemap example:

{"_id":"things_to_do_tripadvisor","startUrl":["https://www.tripadvisor.com/Attractions-g60763-Activities-New_York_City_New_York.html","https://www.tripadvisor.com/Attractions-g34438-Activities-Miami_Florida.html"],"selectors":[{"id":"AttractionName","parentSelectors":["Element"],"type":"SelectorText","selector":"span[name=\"title\"]","multiple":false,"delay":0,"regex":""},{"id":"AttractionImage","parentSelectors":["Element"],"type":"SelectorImage","selector":"li:nth-child(1) img","multiple":false,"delay":0},{"id":"Element","parentSelectors":["_root"],"type":"SelectorElementScroll","selector":"section[data-automation=\"AppPresentation_WebCategoryListShelf\"] > div > span[data-ft=\"true\"] > div span[data-ft=\"true\"]","multiple":true,"delay":"1200"}]}

Hope this helps.

Yep, It worked like a charm. Thank you so much :wink: