Deadlink Check Utility
This project is maintained by harshanarayana
This is a tool that can be used for Analyzing and identifying the Deadlink in a website. This can come handy during the regular website maintenance.
The contents uploaded here is only the Alpha content. I've uploaded it here to get some feedback and suggestion as to how I can make this more efficient.
Any suggestion / comment / feedback / request is welcome. Please drop any of these messages using the following link.
https://www.assembla.com/spaces/deadcheck/tickets
Installation
pip install lxml
pip install deadcheck
or
pip install lxml
git clone git@github.com:harshanarayana/deadcheck.git
python setup.py install
Usage
prompt>python run.py -url <baseURLToAnalyze> [-proxy <proxyURL>:<prompt> -username <userName for Protected Page>
-password <Password to access Protected Page> -auth_base <Super URL for Authentication> -log <logFile>
-exempt <ExceptionURL File> -depth <int, default = 1> -v <default = True>]
API Usage
from deadcheck.deadcheck import DeadcheckAPI
checker = DeadcheckAPI([proxyURL, userName, password, auth_base_url])
urlObj = checker.amIDead(urlToCheck)
print urlObj.info()
children = urlObj.getChildren()
URLLinks
Additional parameters included for Reporting.
ErrorCodes
ErrorHandler
deadcheck
A summary of Links Is provided for each report file.
Minor Cleanup / change for the reports.
Minor Modification for RegExp used in Exceptions file.