Pagination-issues

Hi,

Ive another problem:
The startpage: https://shop.rewe.de/ (There you have to choose a market before you can start).
Afterwards I want to select all categories (“Obst & Gemüse”, “Fleisch & Fisch”, “Käse, Eier & Molkerei”, ….). In these categories there are the goods. I want to scrape different information of all these goods. So the webscraper has to join every single good, scrape the information and switch to the next one.

Problem: My sitemap scrapes only the Information of the first 40 goods of every category. What I mean: The pagination doesn’t work. Ive watched and red all tutorials, but I just get it. The Link-Selector seems not to work on this page. And with the click-selector or pagination-selector I also couldnt get it to work.

Would be fine to get some help again. Thank you!

Here is my current sitemap:
{"_id":"rewe_2","startUrl":["https://shop.rewe.de/"],"selectors":[{"id":"links","linkType":"linkFromHref","multiple":true,"parentSelectors":["root"],"selector":"a.home-page-category-tile:nth-of-type(n+5)","type":"SelectorLink"},{"id":"links_2","linkType":"linkFromHref","multiple":true,"parentSelectors":["links","pagination"],"selector":"a.search-service-productDetailsLink","type":"SelectorLink"},{"id":"Ware","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"Einheit","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"div.rs-qa-price-base","type":"SelectorText"},{"id":"ArtNr","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"div.pdpr-ArticleNumber","type":"SelectorText"},{"id":"Preis","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"mark.pdpr-Price__Price","type":"SelectorText"},{"clickActionType":"real","clickElementSelector":"button.PaginationPagesList_paginationPage__yuWIE","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"pagination","multiple":true,"parentSelectors":["links"],"selector":"div.Pagination_paginationPagesContainer__b2Lv","type":"SelectorElementClick"},{"id":"detail_marke","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Marke")","type":"SelectorText"},{"id":"detail_land","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Ursprungsland")","type":"SelectorText"},{"id":"detail_eigenschaften","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Eigenschaften")","type":"SelectorText"},{"id":"details_nettofuellmenge","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Nettofüllmenge")","type":"SelectorText"},{"id":"Angebot","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"div.pdpr-Price__DiscountValidTo","type":"SelectorText"},{"id":"details_anwendg","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Anwendung")","type":"SelectorText"},{"id":"details_besonderh","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Besonderheiten")","type":"SelectorText"},{"id":"details_Tierart","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Tierart")","type":"SelectorText"},{"id":"details_Geschmacksr","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Geschmacksrichtung")","type":"SelectorText"},{"id":"details_futterart","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Futterart")","type":"SelectorText"},{"id":"details_Packgsgröße","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Packungsgröße")","type":"SelectorText"},{"id":"details_alkoholgehalt","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":".pdpr-Attribute:contains("Alkoholgehalt")","type":"SelectorText"},{"id":"warnung","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"div.pdpr-ProductInformationListItem__Statement","type":"SelectorText"},{"id":"kategorie2","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"a.lr-breadcrumbs__link:nth-of-type(2)","type":"SelectorText"},{"id":"kategorie3","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"a.lr-breadcrumbs__link:nth-of-type(3)","type":"SelectorText"},{"id":"kategorie4","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"a.lr-breadcrumbs__link--active","type":"SelectorText"},{"id":"kategorie1","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"a.lr-breadcrumbs__link:nth-of-type(1)","type":"SelectorText"},{"id":"kategorie5","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"\ta.lr-breadcrumbs__link:nth-of-type(5)","type":"SelectorText"},{"id":"kategorie4_2","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"a.lr-breadcrumbs__link:nth-of-type(4)","type":"SelectorText"}]}

This should work, sorry.

{"_id":"rewe_2","startUrl":["https://shop.rewe.de/"],"selectors":[{"id":"links","parentSelectors":["_root"],"type":"SelectorLink","selector":"a.home-page-category-tile:nth-of-type(n+5)","multiple":true,"linkType":"linkFromHref"},{"id":"links_2","parentSelectors":["links","pagination"],"type":"SelectorLink","selector":"a.search-service-productDetailsLink","multiple":true,"linkType":"linkFromHref"},{"id":"Ware","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"h1","multiple":false,"regex":""},{"id":"Einheit","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"div.rs-qa-price-base","multiple":false,"regex":""},{"id":"ArtNr","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"div.pdpr-ArticleNumber","multiple":false,"regex":""},{"id":"Preis","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"mark.pdpr-Price__Price","multiple":false,"regex":""},{"id":"pagination","parentSelectors":["links"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"button.PaginationPagesList_paginationPage__yuWIE","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"div.Pagination_paginationPagesContainer__b2Lv_"},{"id":"detail_marke","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Marke\")","multiple":false,"regex":""},{"id":"detail_land","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Ursprungsland\")","multiple":false,"regex":""},{"id":"detail_eigenschaften","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Eigenschaften\")","multiple":false,"regex":""},{"id":"details_nettofuellmenge","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Nettofüllmenge\")","multiple":false,"regex":""},{"id":"Angebot","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"div.pdpr-Price__DiscountValidTo","multiple":false,"regex":""},{"id":"details_anwendg","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Anwendung\")","multiple":false,"regex":""},{"id":"details_besonderh","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Besonderheiten\")","multiple":false,"regex":""},{"id":"details_Tierart","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Tierart\")","multiple":false,"regex":""},{"id":"details_Geschmacksr","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Geschmacksrichtung\")","multiple":false,"regex":""},{"id":"details_futterart","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Futterart\")","multiple":false,"regex":""},{"id":"details_Packgsgröße","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Packungsgröße\")","multiple":false,"regex":""},{"id":"details_alkoholgehalt","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Alkoholgehalt\")","multiple":false,"regex":""},{"id":"warnung","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"div.pdpr-ProductInformationListItem__Statement","multiple":false,"regex":""},{"id":"kategorie2","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(2)","multiple":false,"regex":""},{"id":"kategorie3","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(3)","multiple":false,"regex":""},{"id":"kategorie4","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link--active","multiple":false,"regex":""},{"id":"kategorie1","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(1)","multiple":false,"regex":""},{"id":"kategorie5","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"\ta.lr-breadcrumbs__link:nth-of-type(5)","multiple":false,"regex":""},{"id":"kategorie4_2","parentSelectors":["links_2","pagination"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(4)","multiple":false,"regex":""}]}

The reason for my post is, that Ive already tried to adjust the pagination - and it didnt work. If my syntax has too many selectors, I reduced them. Maybe you can help me with the reduced syntax?

{"_id":"rewe_3","startUrl":["https://shop.rewe.de/"],"selectors":[{"id":"links","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root"],"selector":"a.home-page-category-tile:nth-of-type(n+5)","type":"SelectorLink"},{"id":"links_2","linkType":"linkFromHref","multiple":true,"parentSelectors":["links","pagination"],"selector":"a.search-service-productDetailsLink","type":"SelectorLink"},{"id":"Ware","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"Einheit","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"div.rs-qa-price-base","type":"SelectorText"},{"id":"ArtNr","multiple":false,"parentSelectors":["links_2","pagination"],"regex":"","selector":"div.pdpr-ArticleNumber","type":"SelectorText"},{"clickActionType":"real","clickElementSelector":"button.PaginationPagesList_paginationPage__yuWIE","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","id":"pagination","multiple":true,"parentSelectors":["links"],"selector":"div.Pagination_paginationPagesContainer__b2Lv_","type":"SelectorElementClick"}]}

Yes, I tried it. But its the same result like mine. It scrapes the first 40 goods of the category "Haus und Freizeit". But instead of continuing on the second page of this category, it jumps to the next category ("Küche & Haushalt"). So, the pagination within a category does not work (the change from page 1 to page 2 to page 3 and so on).

I guess i have it. One thing is still strange: Normally, at first the webscraper shows the overview-pages one time each (and afterwards the single information). In my case it shows the overview-pages twice...for example: The category "Haus und Freizeit" has 6 overviewpages. And instead of showing it once, it shows it in this order: 1,2,1,2,3,4,3,4,5,6,5,6. And afterwards it starts with the goods. Maybe it works now...I will observe it. Thanks for helping!

{"_id":"rewe_final","startUrl":["https://shop.rewe.de/"],"selectors":[{"id":"links","parentSelectors":["_root"],"type":"SelectorLink","selector":"a.home-page-category-tile:nth-of-type(n+5)","multiple":true,"linkType":"linkFromHref"},{"id":"links_2","parentSelectors":["links","pagination"],"type":"SelectorLink","selector":"a.search-service-productDetailsLink","multiple":true,"linkType":"linkFromHref"},{"id":"Ware","parentSelectors":["links_2"],"type":"SelectorText","selector":"h1","multiple":false,"regex":""},{"id":"Einheit","parentSelectors":["links_2"],"type":"SelectorText","selector":"div.rs-qa-price-base","multiple":false,"regex":""},{"id":"ArtNr","parentSelectors":["links_2"],"type":"SelectorText","selector":"div.pdpr-ArticleNumber","multiple":false,"regex":""},{"id":"Preis","parentSelectors":["links_2"],"type":"SelectorText","selector":"mark.pdpr-Price__Price","multiple":false,"regex":""},{"id":"pagination","parentSelectors":["links","pagination"],"paginationType":"auto","selector":"button.PaginationPagesList_paginationPage__yuWIE","type":"SelectorPagination"},{"id":"detail_marke","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Marke\")","multiple":false,"regex":""},{"id":"detail_land","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Ursprungsland\")","multiple":false,"regex":""},{"id":"detail_eigenschaften","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Eigenschaften\")","multiple":false,"regex":""},{"id":"details_nettofuellmenge","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Nettofüllmenge\")","multiple":false,"regex":""},{"id":"Angebot","parentSelectors":["links_2"],"type":"SelectorText","selector":"div.pdpr-Price__DiscountValidTo","multiple":false,"regex":""},{"id":"details_anwendg","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Anwendung\")","multiple":false,"regex":""},{"id":"details_besonderh","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Besonderheiten\")","multiple":false,"regex":""},{"id":"details_Tierart","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Tierart\")","multiple":false,"regex":""},{"id":"details_Geschmacksr","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Geschmacksrichtung\")","multiple":false,"regex":""},{"id":"details_futterart","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Futterart\")","multiple":false,"regex":""},{"id":"details_Packgsgröße","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Packungsgröße\")","multiple":false,"regex":""},{"id":"details_alkoholgehalt","parentSelectors":["links_2"],"type":"SelectorText","selector":".pdpr-Attribute:contains(\"Alkoholgehalt\")","multiple":false,"regex":""},{"id":"warnung","parentSelectors":["links_2"],"type":"SelectorText","selector":"div.pdpr-ProductInformationListItem__Statement","multiple":false,"regex":""},{"id":"kategorie2","parentSelectors":["links_2"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(2)","multiple":false,"regex":""},{"id":"kategorie3","parentSelectors":["links_2"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(3)","multiple":false,"regex":""},{"id":"kategorie4","parentSelectors":["links_2"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link--active","multiple":false,"regex":""},{"id":"kategorie1","parentSelectors":["links_2"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(1)","multiple":false,"regex":""},{"id":"kategorie5","parentSelectors":["links_2"],"type":"SelectorText","selector":"\ta.lr-breadcrumbs__link:nth-of-type(5)","multiple":false,"regex":""},{"id":"kategorie4_2","parentSelectors":["links_2"],"type":"SelectorText","selector":"a.lr-breadcrumbs__link:nth-of-type(4)","multiple":false,"regex":""}]}

Thats probably the better way. With my way the risk is high, that many goods are missing (because there is simply a lot of data). Thank you!