Python port of my web crawling program