add DB part in crawl.py