Skip to main content

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


Download files

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

Source Distribution

deadlinkz-1.0.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

deadlinkz-1.0.3-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file deadlinkz-1.0.3.tar.gz.

File metadata

  • Download URL: deadlinkz-1.0.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for deadlinkz-1.0.3.tar.gz
Algorithm Hash digest
SHA256 da98c39806d9c4ecb01905f7d90db9129f72b736eb80ae770d00c5cb9a3de114
MD5 fd7d4c7630880e43f7542d850f417909
BLAKE2b-256 85e20f98644dc22c7ce0f56fdcc16f92fe971a6225348d7c6b5429b4ee3d9acd

See more details on using hashes here.

File details

Details for the file deadlinkz-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: deadlinkz-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for deadlinkz-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3b86f29ade7e0326d7ebd8a7326585907ef9106202756a61a9b754395f54d2f8
MD5 bbfe21010ed98f36c42e0e0f4c4c5c35
BLAKE2b-256 8a4d5f65e74f37f465223718ac904e2f69b295dbd05c52878fa470c0f35b15a7

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