Web crawling spider for detecting broken links. Written in Python