Using Kantu for broken links?

Hey there! I know there are tools out there for checking broken links, but I was wondering if it was feasible to make a macro that could do it and (if so) what the logic might be? My needs are too specific for the standard tools/extensions that I’ve found.

I was hoping to make a macro that check all of the broken links on a a page and flag potentially broken links and then loop through other opened tabs. I’d need the broken links recorded to a csv alongside the parent page that they were discovered. (They’d then be rechecked manually.)

I’m very much an amateur with this stuff, but I’m learning quickly. Could someone point me in the right direction?