Program that checks for dead links in a file
Project description
deadlinkz
Python tool that checks for dead urls in a txt or html file
Features
- Good links will appear green, bad will appear red, and unknown will appear grey
- Supports windows and linux style arguments (e.g, --version and -v both work for version)
- Supports parallelization via the use of threads
- Gets only request headers for optimization
Run Instructions
To run open cmd in root of the repo, and type main.py followed by one of the supported arguments:
- -a or --all filename.extension to check all URLs in file
- -g or --good filename.extension to check only good URLs in file
- -b or --bad filename.extension to check only bad URLs in file
- -v or --version
- -h or --help
Error Codes
An error code of 0 means that the program functioned as correctly, 1 can appear when checking for all files and means that a broken/invalid URL was found in the file, and 2 means that the specified file could not be found.
To get the error code after the program has functioned, you can use:
echo %ERRORLEVEL%
after execution finishes.
Please note that index.txt is for test purposes only and you can modify/remove the file if you want to
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for deadlinkz-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b86f29ade7e0326d7ebd8a7326585907ef9106202756a61a9b754395f54d2f8 |
|
MD5 | bbfe21010ed98f36c42e0e0f4c4c5c35 |
|
BLAKE2b-256 | 8a4d5f65e74f37f465223718ac904e2f69b295dbd05c52878fa470c0f35b15a7 |