I am scraping using a "Element click" selector.
For click type I used "click more" to scrape customer reviews and go to next review page automatically.
The problem is that there are 11000 review pages.
I have to choose between scraping only one page ("click once" option) or scraping ALL the reviews ("click more" option).
I found no way to stop the scraping after 200 clicks for example, or to pull the data during scraping to be able to export it after 200 pages.
How can I do?
Here is the sitemap :
{"_id":"LMNT","startUrl":["https://drinklmnt.com/products/lmnt-recharge-electrolyte-drink?variant=16358367199266"],"selectors":[{"id":"Selector","parentSelectors":["_root"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"div.cursor-pointer:nth-of-type(7)","clickElementUniquenessType":"uniqueText","clickType":"clickMore","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"div.review-body"},{"id":"Text","parentSelectors":["Selector"],"type":"SelectorText","selector":"_parent_","multiple":false,"regex":""}]}