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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file He's Dead, Jim-1.0.5.tar.gz.

File metadata

  • Download URL: He's Dead, Jim-1.0.5.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for He's Dead, Jim-1.0.5.tar.gz
Algorithm Hash digest
SHA256 fff52e2decb711b3d09e4f10900c37e4198f321f3524a576236851a61fa7fa25
MD5 e442f115d342b5401a11806a5e65d1f1
BLAKE2b-256 6ab6168a961e83af61384282b3f4839f4f41a1201465dbf7c9a225d75c6b8f11

See more details on using hashes here.

File details

Details for the file He_s_Dead_Jim-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: He_s_Dead_Jim-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for He_s_Dead_Jim-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9d5b731c94bfda7c01febe85bdbcf2737f3d34274beceec8c1df3d4eabe366
MD5 e8c039c3ce6cadef691c03ce304080ae
BLAKE2b-256 a5ad7b26aa9e2df95fbb2717bcac4e39376aacfc35a8fc23ef26bb9e5949c706

See more details on using hashes here.

Supported by

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