Partial crawl.py file