Trouver et réparer les liens brisés

Interest question. In the catalogs of sites (clone Dmoz) all existing links are checked for errors. In Discourse, the links are in the body of the document ( They are not stored in a separate table?). I think that it is possible to create a link parser from the Discourse database in order to check their status using a third-party plugin. And in the countdown, display the status of “broken” links and the number of the post.