From ce2c4df072885b2fd8594cffb0c28ad83adb7d6a Mon Sep 17 00:00:00 2001 From: JesterHey <144512889+JesterHey@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:48:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=91=E7=AB=AF=E4=B8=8B?= =?UTF-8?q?=E8=BD=BDbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- get_params.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/get_params.py b/get_params.py index 55a71c7..978908c 100644 --- a/get_params.py +++ b/get_params.py @@ -317,6 +317,7 @@ def get_parameters_of_programming(url:str,user_name:str,password:str): print('云端文件已存在,正在下载') download(f'pro_{pro_id}_{language}.json') print(f'pro_{pro_id}_{language}.json下载完成') + i += 1 continue else: print('云端文件不存在,正在爬取') @@ -353,4 +354,4 @@ if __name__ == '__main__': user_name = 'hnu202311020126' password = 'hzy123456' get_parameters(url,user_name,password) - print('结束测试') \ No newline at end of file + print('结束测试')