From 81886fde67dca5cdbb483e417c765dacbc933c7e Mon Sep 17 00:00:00 2001 From: itxh <892457803@qq.com> Date: Mon, 15 Jan 2024 11:20:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Action=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douban.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/douban.py b/douban.py index 31bfed6f73..0f7f4182ce 100644 --- a/douban.py +++ b/douban.py @@ -30,7 +30,7 @@ def dowoloadFile(image_url): headers = { 'Referer': 'https://doubanio.com' } - response = requests.get(image_url, headers=headers, timeout=30) + response = requests.get(image_url, headers=headers, timeout=300) file_name = image_url.split('/')[-1] save_path = os.path.join(save_folder, file_name) if os.path.exists(save_path):