(download_many, default_concur_req, max_concur_req)
| 145 | |
| 146 | |
| 147 | def main(download_many, default_concur_req, max_concur_req): |
| 148 | args, cc_list = process_args(default_concur_req) |
| 149 | actual_req = min(args.max_req, max_concur_req, len(cc_list)) |
| 150 | initial_report(cc_list, actual_req, args.server) |
| 151 | base_url = SERVERS[args.server] |
| 152 | DEST_DIR.mkdir(exist_ok=True) |
| 153 | t0 = time.perf_counter() |
| 154 | counter = download_many(cc_list, base_url, args.verbose, actual_req) |
| 155 | final_report(cc_list, counter, t0) |
no test coverage detected