some code to retrieve latest crawl status