Hey guys. I found this extension and i can honestly say it's incredible.
I am trying to scrape the phone number from a local ads website.
Start is:
Url: https://www.olx.ro/servicii-afaceri-colaborari/meseriasi-constructori/
In order to get the phone number you need to click on a "Show phone" button that will load the phone itself.
I managed to make it work(might not be the ideal way) for the first page of results.
Questions is: how do i make it go to page 2,3,4 ... and start again the rutine i built?
Sitemap:
{"_id":"test1","startUrl":["https://www.olx.ro/servicii-afaceri-colaborari/meseriasi-constructori/"],"selectors":[{"id":"linkselect","type":"SelectorLink","parentSelectors":["_root"],"selector":"a.marginright5","multiple":true,"delay":0},{"id":"telefon","type":"SelectorElementClick","parentSelectors":["linkselect"],"selector":"div.contact-button strong.xx-large","multiple":false,"delay":0,"clickElementSelector":"div.contact-button","clickType":"clickOnce","discardInitialElements":true,"clickElementUniquenessType":"uniqueText"},{"id":"dasd","type":"SelectorText","parentSelectors":["telefon"],"selector":"parent","multiple":false,"regex":"","delay":0}]}
Much appreciate any support!