Hi,
I am trying to use pagination feature with Element clicks. I am following the instructions but I am not able to get it working.
The scraper loops through the web pages to some extent but gives me the values on table in page 1 for first and last page. So the same value which is on Page 1 is repeated multiple times. In all I have 10 pages with 25 records. So I expect a total of 250 distinct records. But what I get is just 50 records and in the scarping popup, I see the first page and then the 10th page and a total of just 50 records. These 50 records are just 25 unique records on the first page with every record appearing twice. Adding any delay to the "Element Clicks" selector leads to no output from the scraper.
The following is the sitemap:
{"startUrl":"http://www......","selectors":[{"parentSelectors":["_root","link1"],"type":"SelectorTable","multiple":true,"id":"tablerow","selector":"table._nodivs","tableHeaderRowSelector":"tr:nth-of-type(1)","tableDataRowSelector":"tr:nth-of-type(n+2)","columns":[{"header":"Item ID ▲","name":"Item ID ▲","extract":true},{"header":"Code","name":"Code","extract":true},{"header":"Name","name":"Name","extract":true},{"header":"Status","name":"Status","extract":true},{"header":"StartDate","name":"StartDate","extract":true},{"header":"EndDate","name":"EndDate","extract":true},{"header":"Office","name":"Office","extract":true}],"delay":""},{"parentSelectors":["_root"],"type":"SelectorElementClick","multiple":true,"id":"link1","selector":"tr:nth-of-type(28) td","delay":"","clickElementSelector":"tr:nth-of-type(28) a","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","discardInitialElements":true}],"_id":"ma1"}
Any pointers on how I can fix this would be greatly appreciated?
Regards,
JS