Hi!
I have built a sitemap to scrape a website.It scrapes correctly the first two pages(page 1 and page 2 with all the data that I want).But it doesen´t go further than page 2,and I need to scrape all the links of pagination in that page in all the categories.
My current sitemap is the following:
{"_id":"lubricantesdscomponentes","startUrl":["http://www.dscomponentes.es/web/articulo/familia.php?id=83&selSubFamilia=222&selSubSubFamilia=544"],"selectors":[{"id":"Links","type":"SelectorLink","selector":"div.pr_imagen a","parentSelectors":["_root","Next"],"multiple":true,"delay":0},{"id":"Elemento","type":"SelectorElement","selector":"div.fichaart","parentSelectors":["Links"],"multiple":false,"delay":"3000"},{"id":"Referencia","type":"SelectorText","selector":"div.REFERENCIA","parentSelectors":["Elemento"],"multiple":false,"regex":"","delay":0},{"id":"Precio","type":"SelectorText","selector":"div.precio","parentSelectors":["Elemento"],"multiple":false,"regex":"","delay":0},{"id":"Titulo","type":"SelectorText","selector":"div#descPP","parentSelectors":["Elemento"],"multiple":false,"regex":"","delay":0},{"id":"Next","type":"SelectorElementClick","selector":"div.numerosProductos:nth-of-type(5)","parentSelectors":["_root"],"multiple":true,"delay":"10000","clickElementSelector":"div.numerosProductos a:nth-of-type(3)","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"}]}
The firs trouble that i found was to move from page 1 to page 2,I solved it increasing the delay time on the "element click".But,as I said before now I can´t go further than page 2 with this sitemap.
Any ideas to fix that and move on to the other pages?
Thaks from Spain!