def crawl_main(startdate=None, enddate=None):
    download_schedule = []
    try:
        for fy in FISCAL_YEARS:
            listing = request_listing(fy, startdate, enddate)
            update_download_schedule(download_schedule, listing)

        log_inaccessible_files(download_schedule)

        if confirm_download_schedule(download_schedule):
            exec_download_schedule(download_schedule)
    except __HOLE__:
        print
        print "Exiting due to CTRL-C"
    finally:
        save_schedule(download_schedule)
dataset/ETHPy150Open sunlightlabs/clearspending/timeliness/crawler.py/crawl_main