An app that will analyze and report on links in any model that you register with it. Links can be bare (urls or image and file fields) or embedded in HTML (linkcheck handles the parsing). It's fairly easy to override methods of the Linkcheck object should you need to do anything more complicated (like generate URLs from slug fields etc).
For the second request, the allowed host header is not correctly set (regression from 1ddfd90ace090c40d5963b58b11015bd20ae269f)
If the second request fails, response.redirect_chain is empty, causing an IndexError: list index out of range on self.redirect_to, _ = response.redirect_chain[-1] (regression from dbc5d22d9f27a86cf15a600d286bea989b615dd0)
I found two small problems with the internal redirect checker: https://github.com/DjangoAdminHackers/django-linkcheck/blob/bea735709d33a02af4fd41a3ed9e900e29919e34/linkcheck/models.py#L333-L340
response.redirect_chain
is empty, causing anIndexError: list index out of range
onself.redirect_to, _ = response.redirect_chain[-1]
(regression from dbc5d22d9f27a86cf15a600d286bea989b615dd0)