A crawler in python which uses BeautifulSoup, urllib2 and urlparse