I can't get the pagination to work on this page https://visitnj.org/nj/events
I tried selecting all of the elements the the /nav section but it still scrapes only the first page
Thanks for any ideas.
I can't get the pagination to work on this page https://visitnj.org/nj/events
I tried selecting all of the elements the the /nav section but it still scrapes only the first page
Thanks for any ideas.
easy:
{"_id":"visitnj-org","startUrl":["https://visitnj.org/nj/events"],"selectors":[{"id":"element","multiple":true,"parentSelectors":["next"],"selector":".listing-open","type":"SelectorElement"},{"id":"next","paginationType":"clickMore","parentSelectors":["_root","next"],"selector":"div#pagination-html-container-top a[rel=\"next\"]","type":"SelectorPagination"},{"id":"date","multiple":false,"parentSelectors":["element"],"regex":"","selector":"div[itemprop='startDate']","type":"SelectorText"},{"id":"name","multiple":false,"parentSelectors":["element"],"regex":"","selector":"a[itemprop='name']","type":"SelectorText"},{"id":"address","multiple":false,"parentSelectors":["element"],"regex":"","selector":"div[itemprop='address']","type":"SelectorText"},{"extractAttribute":"href","id":"www","multiple":false,"parentSelectors":["element"],"selector":"a.business-url","type":"SelectorElementAttribute"},{"extractAttribute":"href","id":"email","multiple":false,"parentSelectors":["element"],"selector":".email a","type":"SelectorElementAttribute"}]}