Skip to main content

Check if links in md file and more particuraly in awesome-list are down or not.

Project description

codecov PyPI version Requirements Status Code Coverage Quality check

awesome-check-link

Check if links in md file and more particularly in awesome-list are down or not.

Install

You can install awesome-check-link either via pip (PyPI) or from source.

python3 -m pip install awesome-check-link

Or manually:

git clone https://github.com/remiflavien1/awesome-check-link
cd awesome-check-link
python3 setup.py install

To upgrade aclinks:

python3 -m pip  install --upgrade awesome-check-link

Usage

CLI

$ python3 -m aclinks --help  
Awesome Check Links 

Usage:
    aclinks [--verbose --exit --down] -f FILE
    aclinks (-h | --help | --version)

Options:
    -f --file       Markdown file to scan.
    -e --exit       Stop and raise error if a site is down.
    -d --down       Show only down links and their line number.
    -v --verbose    Verbose mode. Print more to stdout.
    -h --help       Show this help.
    --version       Show version.

Example of output for the Awesome-anti-forensic

$ git clone https://github.com/remiflavien1/awesome-anti-forensic
$ cd awesome-anti-forensic
$ aclinks -vd -f README.md # only display down links

At line 24 : https://www.paterva.com/web7/buy/maltego-clients/casefile.php : Moved Permanently ( 301 )
At line 61 : https://www.bishopfox.com/resources/tools/other-free-tools/mafia/ : Moved Permanently ( 301 )
At line 64 : https://www.paterva.com/web7/buy/maltego-clients/maltego-ce.php : Moved Permanently ( 301 )

With exit mode (--exit flag), exit the program if one link is down. Can be integrated in a CI/CD workflow.

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

awesome-check-link-0.1.6.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

awesome_check_link-0.1.6-py3-none-any.whl (5.5 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