Spider

A Python script to check a website for broken links.

How To Install It

Install using:

python setup.py install

How To Use It

By default spider checks all internal links, no matter how many levels, and a single level of external links.

spider.py <url>

Options

-h --help                   Show help.
-i --ignore-external-links  Ignore external hyperlinks.
-u --user-agent             Send custom user agent string.

Output

URLs with status codes other than OK (200) and Temporary Redirect (302) are displayed in the post-run summary.

How To Get It

License

MIT license.

Contact Me

Bug reports and patches can be sent to craig@seagrape.us.