modified crawler.py