Command-line tool for checking te status of links stored in a file.
Project description
checkThatLink
This is a CLI tool used to check an html file for the status of the URL's it contains.
The application requires the path to a file as it's first positional argument.
$ checkThatLink.py [fileName]
The status of the URL will be shown by colour
- Green = good link
- Cyan = secured link
- Red = bad link
- Grey = unknown link
Options
You can also use the optional flag argument -s or --secureHttp to indicate that you want to see if the supplied http URL's will work using https instead.
$ checkThatLink.py [fileName] -s
You can choose to have the output be in JSON format instead of the original output by using the -j or --json flags.
$ checkThatLink.py [fileName] -j
There is also the option to get only good, or bad matches with the corresponding flags:
$ checkThatLink.py [fileName] --good OR --bad
The optional flag argument -i or --ignore with a filepath will load and parse an ignored URLs text file.
$ checkThatLink.py [fileName] -i [ignoreFile]
The format of an ignored URLs text file is as follows:
- URLs must be placed on separate lines and begin with either
httporhttps - Any line that begins with
#is a comment and will not be parsed
To check the status of the 10 latest Telescope posts you can use the -t --telescope optional argument. Doing so will ignore the file given and instead check Telescope.
You must have Telescope's backend running locally in order to use this feature
$ checkThatLink.py [fileName] -t
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Check That Link-1.0.0.tar.gz.
File metadata
- Download URL: Check That Link-1.0.0.tar.gz
- Upload date:
- Size: 7.6 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.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc435d704a3dd9bb1c8f6c1c5bb5f0565f051eb40dc797c20a0bba216e99d25
|
|
| MD5 |
bb8fef4a2b6d6d71dbcfdfc0d77cb3ae
|
|
| BLAKE2b-256 |
6736741d55464f2e1283dde789f194d184e7e3e2107b1df2f795ebe51afd434b
|
File details
Details for the file Check_That_Link-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Check_That_Link-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.8 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.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
159f3c6d2a1b9f3855fa660c8a4f28959de85f422612e363122c8755c6098ee4
|
|
| MD5 |
3812480ef27a574b8d4da6baf2257249
|
|
| BLAKE2b-256 |
a52936b7e8f6b4bea1482f56ea502efa686bebba6847cd3b3f6d9740170d2bc6
|