No link on page buttons, can't sitemap properly

https://database.globalgap.org/globalgap/search/SearchMain.faces#

Hi what would be the sitemap for this ? there are no clickable links on page buttons down the page once I have the results of my query. To go to page 2 I have to double clik for instance.
Also, each producer is not a clickable link, I have to click on "plus" ont the left.

My search is "Mangues" (Mangoes) in Ivory Coast (Côte d'Ivoire) in search N°3.

Please can anyone help me there are 100+ pages :expressionless:

Hi, here is a sitemap to collect the table data from the search results:

{"_id":"globalgap","startUrl":["https://database.globalgap.org/globalgap/search/SearchMain.faces"],"selectors":[{"id":"pagination","paginationType":"clickMore","parentSelectors":["_root","pagination"],"selector":"input#content\\:search\\:searchTree\\:pagerNext, [class=\"treePager\"]:not(:has([alt=\"Next\"])) table table td:nth-of-type(7) input","type":"SelectorPagination"},{"id":"element","multiple":true,"parentSelectors":["pagination"],"selector":"[id=\"treetable\"] table thead + tbody > tr:not(:has(.treePager))","type":"SelectorElement"},{"id":"GGN","multiple":false,"parentSelectors":["element"],"regex":"","selector":"td:nth-of-type(5)","type":"SelectorText"},{"id":"Reg-No","multiple":false,"parentSelectors":["element"],"regex":"","selector":"td:nth-of-type(6)","type":"SelectorText"},{"id":"Company-Type","multiple":false,"parentSelectors":["element"],"regex":"","selector":"td:nth-of-type(7)","type":"SelectorText"}]}

You can add the fields you require as final Text selectors.

Do you also want to scrape data that appears after clicking the + ?

Hi thanks ! yes absolutely I would like to get alls infos that are in the "+" area and for all 108 pages of the query results.
Where do I put the code you sent ?



Preview shows what I want but not for all lines. I also have to add the pagination. But when I run the scraping the tab is empty!

Hello! Sadly it will not be possible to expand the listings with a click selector since the page is reloaded after the click.

One workaround I can think of would be to collect all the GGN numbers with the scraper I provided earlier.

Then add the GGN numbers to the query link like this:

https://database.globalgap.org/globalgap/search/SearchMain.faces?searchQuery=4049928712028

And create a new scraper with all the query links as start URLs.