Skip to main content

A small program to check the status of URLs

Project description

C.L.I.G.O.N

Introduction

C.L.I.G.O.N or Cligon is an acronym that stands for Check if Link Is Good Or Not. It is designed to check all website links inside a file. This program was written in Python 3.8.2. It will return a list of good, bad, or unknown URL statuses.

  • good urls are status code 200.
  • bad urls are status codes 400 or 404.
  • unknowns are status codes that aren't bad or good.

Usage

To use please create a virtual environment. Please see here or CONTRIBUTING.md on how to set up a virtual env.

Once in your environment, please run:

pip install cligon

to install the program in your env. Once installed you can...

test URLs of a file:

cligon [file name with URL links]

get a list of usage options:

cligon

see the help page:

cligon -h

Contributing

Please check out my repo found here and look at CONTRIBUTING.md.

Features

  • Colorized output: good = green, red = back, grey/white = unknown
  • Version number argument
  • Parallelism / Multi-threading (It's fast-ish)
  • Grabs HEAD only
  • URL timeout (default 2.5 milliseconds)
  • Output JSON format
  • Output only good or bad urls

License

MIT

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

cligon-1.0.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

cligon-1.0.2-py3-none-any.whl (6.2 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