Skip to main content

A command-line tool for finding and reporting dead/broken links in a file or webpage.

Project description

He's Dead, Jim

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:

git clone https://github.com/chrispinkney/He-s-Dead-Jim.git

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

He's Dead, Jim-1.0.5.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

He_s_Dead_Jim-1.0.5-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page