Hi guys,
I am scraping data from a website once a week and the records are different each week.
Each page contains 100 records, and it can go up to 1000 pages. I want to get the last page number so that it can be used in the "Loop condition" action.
So far, the custom selector is only able to detect "Previous". I tried "li[4]" and "li > li > li > li > li" but couldn't get it work.
Website Element:
URL: umarbutler/open-australian-legal-corpus · Datasets at Hugging Face
Try this:
body > div > main > div > div > div > div > nav > ul > li:nth-child(6)
Toggle on the text editor and just paste that to you Default selector in text editor mode
Test flow: