From 1698f0dd8a5dbd187b0565962c043c3f875380ef Mon Sep 17 00:00:00 2001 From: Plachtaa <112609742+Plachtaa@users.noreply.github.com> Date: Sun, 5 Mar 2023 16:25:38 +0800 Subject: [PATCH] Update download_video.py --- download_video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/download_video.py b/download_video.py index 9d0b7ac..05ccce7 100644 --- a/download_video.py +++ b/download_video.py @@ -33,5 +33,5 @@ def download_video(info): if __name__ == "__main__": infos = generate_infos() - with ThreadPoolExecutor(max_workers=os.cpu_count() - 2) as executor: - executor.map(download_video, infos) \ No newline at end of file + with ThreadPoolExecutor(max_workers=os.cpu_count()) as executor: + executor.map(download_video, infos)