This commit is contained in:
caiwx86 2023-01-25 01:59:06 +08:00
parent 46d24b9172
commit 8ba3c166ad

View File

@ -90,7 +90,7 @@ def download_images(image_urls, dst_dir,timeout=20,concurrency=5, proxy_type=Non
future_list.append(executor.submit(
download_image, image_url, dst_dir, file_name, timeout, proxy_type, proxy))
count += 1
time.sleep(0.3)
time.sleep(1)
concurrent.futures.wait(future_list, timeout)
def download_comic_icon():