rebuild db while scraping.