Closed tassadarius closed 3 years ago
Should I merge the PR or are still working on the link checker?
Should I merge the PR or are still working on the link checker?
I want to add a small change that it collects multiple directories automatically.
Description
This is a simple, python3.7+ script with no external dependencies. Use it to find dead links in the JCrypTool online help. It recursively resolves all links which are used in HTML files, tries to retrieve them and creates an output for reachable/unreachable links.
Current status
I applied the script to core and crypto, these are the results:
core
In detail results of dead links: failed_links_core.txt
crypto
In detail results of dead links: failed_links_crypto.txt
How to use
You can easily use the script yourself, you just need Python 3.7 or higher In most use-cases, you would want to retrieve dead links with their paths, this can be done via
For easier readability you can also redirect the result output to a file like so
Pipeline
We could use the script in the build pipeline, or have a separate link-checking Action which runs periodically.