I can't manage to extract the content after clicking on "show more"

Hi, I can't manage to extract the content after clicking on "show more", I have tried a thousand ways but it doesn't extract data, the elements that don't work are:

  • Informacion adicional
  • Itinerario

I try to solve it with element clcik but without results, can someone give me light.

Url: Tour de día completo en barco por la laguna azul y el banco de arena desde Zanzíbar (Safari blue) Zanzíbar - Booking.com

Sitemap:
{"_id":"Actividades-Zanzibar","startUrl":["Atracciones turísticas de Zanzíbar- Booking.com h3","type":"SelectorElementScroll"},{"id":"paginacion","paginationType":"clickMore","parentSelectors":["_root","paginacion"],"selector":"button.bf0537ecb5","type":"SelectorPagination"},{"id":"Link","linkType":"linkFromHref","multiple":true,"parentSelectors":["paginacion"],"selector":"a.css-19trb0y","type":"SelectorLink"},{"id":"Titulo","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"Descripcion Corta","multiple":false,"parentSelectors":["Link"],"regex":"","selector":".css-o8ncn9 p","type":"SelectorText"},{"id":"Calificacion","multiple":false,"parentSelectors":["Link"],"regex":"","selector":".css-gb8tfb span.bcdcb105b3:nth-of-type(1)","type":"SelectorText"},{"id":"Valoracion","multiple":false,"parentSelectors":["Link"],"regex":"","selector":".css-gb8tfb span:nth-of-type(2)","type":"SelectorText"},{"extractAttribute":"style","id":"Imagen principal","multiple":false,"parentSelectors":["Link"],"selector":"figure.css-1z1096a","type":"SelectorElementAttribute"},{"extractAttribute":"style","id":"Imagen2","multiple":false,"parentSelectors":["Link"],"selector":"figure[data-testid='gridImage-1']","type":"SelectorElementAttribute"},{"extractAttribute":"style","id":"Imagen3","multiple":false,"parentSelectors":["Link"],"selector":"figure[data-testid='gridImage-2']","type":"SelectorElementAttribute"},{"id":"Normas","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"div.css-1w6lm2r","type":"SelectorText"},{"id":"Precio","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"div.c82435a4b8:nth-of-type(1) div.e1eebb6a1e","type":"SelectorText"},{"id":"Descripcion","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"div.css-n9kgwt","type":"SelectorText"},{"id":"Incluye","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"div.css-198y2dh","type":"SelectorText"},{"clickActionType":"real","clickElementSelector":".css-1a8s82q > div > button div","clickElementUniquenessType":"uniqueHTMLText","clickType":"clickMore","delay":2000,"discardInitialElements":"do-not-discard","id":"Informacion adicional","multiple":false,"parentSelectors":["Link"],"selector":"div.css-1a8s82q:nth-of-type(7) > div","type":"SelectorElementClick"},{"clickActionType":"real","clickElementSelector":".css-136jiew div","clickElementUniquenessType":"uniqueHTMLText","clickType":"clickMore","delay":2000,"discardInitialElements":"do-not-discard","id":"Itinerario","multiple":false,"parentSelectors":["Link"],"selector":".css-181f0kc div .css-1a8s82q > div","type":"SelectorElementClick"}]}

Can someone help me? I'm still stuck :sweat:

I can't believe there is no expert for this problem :cold_sweat:

you have many mistakes in your sitemap.

image

I have a doubt you can succeed... Selectors should be more flexible on any page of chosen website...
Unfortunately, have no free time to review this complex sitemap thoroughly...

Hi,

Here is an example on how to scrape the data under 'Show more':

{"_id":"booking","startUrl":["https://www.booking.com/attractions/tz/pr65hyjhrlbd-full-day-blue-lagoon-and-sandbank-boat-tour-from-zanzibar-safari-bl.es.html?start_date=2024-07-31&end_date=2024-07-31&source=searchresults-product-card&date=2024-07-31&ufi=-2574823&start_time=08%3A00&ticket_type=OF0JZXoRzbDi"],"selectors":[{"clickActionType":"real","clickElementSelector":"button:contains('Mostrar más')","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":0,"discardInitialElements":"discard-when-click-element-exists","id":"Información adicional click","multiple":false,"parentSelectors":["_root"],"selector":"_parent_","type":"SelectorElementClick"},{"id":"Información adicional ","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"h3:contains('Información adicional') +","type":"SelectorText"},{"clickActionType":"real","clickElementSelector":"button:contains('Ver las')","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":0,"discardInitialElements":"discard-when-click-element-exists","id":"Información sobre el recorrido click","multiple":false,"parentSelectors":["_root"],"selector":"_parent_","type":"SelectorElementClick"},{"id":"Información sobre el recorrido","multiple":true,"parentSelectors":["_root"],"regex":"","selector":"div:has(> div > span:contains('Se para en:'))","type":"SelectorText"}]}