I haven’t tried it, but what you are asking for sounds similar to GitHub - graydenshand/discourse_link_checker: A program to find broken links in Discourse · GitHub.
@Grayden_Shand might have some information about using it.
I haven’t tried it, but what you are asking for sounds similar to GitHub - graydenshand/discourse_link_checker: A program to find broken links in Discourse · GitHub.
@Grayden_Shand might have some information about using it.