Hello again.
Thank you in advance for your help
I have two issues with this scrape:
-
I0m not able to set the pagination right. I tried different ways and the best i can do is to retrieve 23/33 of the links.
-
I'm able to get 2 images this way but iddeally i would get any image to a max of 6, for example. I can create a selector for each, no problem. Some have videos.
Url: https://www.miele.pt/p/maquinas-de-lavar-louca-industriais-1941.htm
Sitemap:
{"_id":"Miele-ind-louca-002","startUrl":["https://www.miele.pt/p/maquinas-de-lavar-louca-industriais-1941.htm"],"selectors":[{"id":"pagination","paginationType":"auto","parentSelectors":["_root","pagination"],"selector":".obj-button obj-button--primary","type":"SelectorPagination"},{"id":"Link","linkType":"linkFromHref","multiple":true,"parentSelectors":["_root","pagination"],"selector":"div.crd-product-tile__button-wrapper:nth-of-type(n+3) a","type":"SelectorLink"},{"id":"Titulo","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"descricao_curta","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"h2.obj-product-key-details__type-description","type":"SelectorText"},{"id":"Detalhes","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"div.mdl-product-detail-head__features","type":"SelectorHTML"},{"id":"Caracteristicas_todas","multiple":false,"parentSelectors":["Link"],"regex":"","selector":"div.mdl-product-detail-details__content","type":"SelectorHTML"},{"extractAttribute":"src","id":"imagem","multiple":false,"parentSelectors":["Link"],"selector":".swiper-slide-active img","type":"SelectorElementAttribute"},{"id":"imagem2","multiple":false,"parentSelectors":["Link"],"selector":".swiper-slide-next img","type":"SelectorImage"}]}