Loop over a group of links

what is the recommended way to grab a group of adjacent links on a page and then loop over all of them?

the group of links at the bottom of this page are an example. https://a9t9.com/kantu/demo/storeeval

The LOOP button can help here, very similar to this example: Need to download videos from a website