-
URL: https://www.coopathome.ch/ in mobile view (<1127 px width, DE language)
-
The scraper should:
- Step 1: click 'Menü'
- Step 2: click 'Supermarkt'
- Step 3: find all Category1 Links (e.g. Lebensmittel)
- Step 4: find all Category 2 Links (e.g. Grundnahrungsmittel)
- Step 5: find (if available) all Category 3 Links (e.g. Mehl & Zucker)
- Step 6: find (if available) all Category 4 Links (e.g. Mehl)
- Step 7: Scroll down the entire page
- Step 8: Store all product names
-
Unfortunately: I cannot even pass Step 2. Neither ElementClick, nor PopupLink work to proceed in the menu. The page uses AJAX and JS, therefore I added delays on all steps to make the page finish loading first.
This is my second WebScraper project, the first one went really smoothly. Thanks a lot for your help!
Sitemap:
{"_id":"coop","startUrl":["https://www.coopathome.ch/"],"selectors":[{"id":"menu-click","type":"SelectorPopupLink","parentSelectors":["_root"],"selector":"a.masthead__tab:nth-of-type(1)","multiple":false,"delay":"300"},{"id":"supermarkt","type":"SelectorPopupLink","parentSelectors":["menu-click"],"selector":"li.list__item li.meganav-level-0__item:nth-of-type(1) a.meganav-level-0__link","multiple":false,"delay":"300"},{"id":"cat1","type":"SelectorPopupLink","parentSelectors":["supermarkt"],"selector":"li.list__item li.meganav-level-0__item:nth-of-type(1) a.meganav-level-1__link","multiple":true,"delay":"300"},{"id":"cat2","type":"SelectorPopupLink","parentSelectors":["cat1"],"selector":"a.subnav__link span.media__body","multiple":true,"delay":"300"},{"id":"cat3","type":"SelectorPopupLink","parentSelectors":["cat2"],"selector":"div.listing-page-header ul.list.list--pipe a","multiple":true,"delay":"300"},{"id":"cat4","type":"SelectorPopupLink","parentSelectors":["cat3"],"selector":"div.listing-page-header ul.list.list--pipe a","multiple":true,"delay":"300"},{"id":"product-name","type":"SelectorText","parentSelectors":["cat4"],"selector":"span.line-clamping__lines","multiple":true,"regex":"","delay":"100"}]}