Skip to main content

Checks static .html files for bad links

Project description

Recursively scans directories for static html files for bad or empty links. See [here](http://www.ericcarmichael.com/writing-my-first-python-package.html) why I wrote this, I hate missing details!

# Example bad or empty links

`html <a href=""></a> Empty <a href></a> Empty <a href="python.org"></a> Any bad link will fail, this one is missing http:// `

# Usage

Command line

> existence /path/to/dir

Python

`python from existence import scan scan("/path/to/dir") `

# Options

existence.SHOW_PROGRESS_BAR

Default is False, set to True to show a handy progress bar. Requires progressbar

# Running tests

> python -m unittest discover

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

existence-0.1.9.zip (5.4 kB view hashes)

Uploaded Source

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