Python asyncio + aiohttp Markdown *.md URL link checker: 10,000 files/second
MIT License
Bot releases are visible (Hide)
Published by scivision over 3 years ago
when using the command line invocation linkchecker-markdown
or python -m linkcheckmd
the return code will be 22 if any link is bad, and 0 if no bad links are detected.
Published by scivision over 3 years ago
non-local link scans often ended with a spurious ResourceWarning. This is a known bug in aiohttp that will be fixed by them in the future. For now, the workaround is a 250 millisecond asyncio.sleep at the program conclusion.
Added a -r
recursive directory option. This is for non-local scans only, as I'd need to add logic to make local scans relative to some directory. This would be straightforward if users desire--let me know.
Published by scivision over 3 years ago
Published by scivision almost 4 years ago
Published by scivision about 4 years ago
requests
Published by scivision over 4 years ago
add local file test. This does not use the internet but just looks for filenames. It doesn't understand site structure as that is static site generator dependent.
Published by scivision over 4 years ago
Published by scivision over 4 years ago
use regular Requests instead of defunct aiohttps-requests. If anything, accuracy seems to have improved as a result as compared with tools by other authors.
Published by scivision almost 5 years ago
Published by scivision almost 5 years ago