()
| 30 | pass |
| 31 | |
| 32 | def main(): |
| 33 | with open("urls.txt", "r") as file: |
| 34 | urls = [line.strip() for line in file.readlines()] |
| 35 | max_workers = 100 |
| 36 | with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor: |
| 37 | executor.map(checkVersion, urls) |
| 38 | |
| 39 | if __name__ == "__main__": |
| 40 | main() |