linkchecker-markdown

Python asyncio + aiohttp Markdown *.md URL link checker: 10,000 files/second

MIT License

Downloads
4K
Stars
32
Committers
3

Bot releases are hidden (Show)

linkchecker-markdown - command line return 22 if any link bad Latest Release

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.

linkchecker-markdown - fix ResourceWarning, add recursive option

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.

linkchecker-markdown - more functionalized, better CLI, modernize type anno, pageResource

Published by scivision over 3 years ago

  • support Hugo PageResource
  • modernize type annotation
  • improve CLI
  • increase functionalization of code
linkchecker-markdown - allow python -m usage

Published by scivision almost 4 years ago

  • allow install without sudo PEP517
  • use asyncio.run instead of our old Py35+ runner
  • allow run via "python -m linkcheckmd"
linkchecker-markdown - restore use of aiohttp, Python >= 3.7

Published by scivision about 4 years ago

  • use aiohttp for asyncio performance -- multiple times faster than reference sequential requests
  • make module more robust with python >= 3.7 techniques
linkchecker-markdown - add local test

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.

linkchecker-markdown - move to src/ __main__.py layout

Published by scivision over 4 years ago

linkchecker-markdown - remove obsolete prereq

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.

linkchecker-markdown - use logging to print debug

Published by scivision almost 5 years ago

  • use logging.info() for verbose printing
  • use f-strings
linkchecker-markdown - initial release

Published by scivision almost 5 years ago