A command-line tool for finding and reporting dead/broken links in a file or webpage.
Project description
Table of Contents
He's Dead, Jim (Release 0.1)
Scope
For our first project we are tasked with building a command-line tool for finding and reporting dead links (e.g., broken URLs) in a file. Users might use the tool to help locate broken URLs in an HTML page, for example. The tool can be written in any programming language.
How It Works
He's Dead, Jim aggregates (a fancy word for saying grabs) all href tags on a single page/file and creates get requests for each link on the page. Those requests are then reported back to the user along with the status code and a delightful colour coded message indicating the status of each link.
Optional Features
He's Dead Jim features the following optional features:
- Colourized output. Good URLs are printed in green, bad URLs are printed in red, and unknown URLs in gray.
- -v can be supplied to the program for current version information.
- Program incorporates multi-threading to allow for parallelization of the program.
Usage
Install Python on your machine and reboot. Then:
cd He-s-Dead-Jim
pip install -r requirements.txt
python src/hdj.py
Issues
Current issues in the projects can be found on the repo's issues page.
Contribution
Please be sure to read CONTRIBUTING.md prior to any development. Feel free to make a Pull Request or Issue regarding and functionality and I'll get to it ASAP.
Licence
MIT License - A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
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 He_s_Dead_Jim-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9d5b731c94bfda7c01febe85bdbcf2737f3d34274beceec8c1df3d4eabe366 |
|
MD5 | e8c039c3ce6cadef691c03ce304080ae |
|
BLAKE2b-256 | a5ad7b26aa9e2df95fbb2717bcac4e39376aacfc35a8fc23ef26bb9e5949c706 |