Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 698 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 698 Bytes

Checking broken links for McLab website

Overview

The scripts are used to automatically detect broken links within http://www.sable.mcgill.ca/mclab.

Note: if the content of a website has been removed but it is still accessible, the link of the webite is considered a valid one (i.e. http://vineetkumar.net/).

Prerequisites

Additional Python libraries should be installed before you run the main script checkall.py.

pip install selenium
pip install BeautifulSoup

Usage

python checkall.py

Check broken-links.txt to see the output of the command line.

Scripts

  • checkall.py: the main script
  • Libraries:
    • crawlib: from crawlib.py
    • urllib2