diff --git a/init/select_ticket_info.py b/init/select_ticket_info.py index 13b5805..765cbb2 100644 --- a/init/select_ticket_info.py +++ b/init/select_ticket_info.py @@ -467,7 +467,7 @@ class select: for i in range(3): if is_node_code: print("需要验证码,正在使用自动识别验证码功能") - codeimg = 'https://kyfw.12306.cn/otn/passcodeNew/getPassCodeNew?module=login&rand=sjrand&%s' % random.random() + codeimg = 'https://kyfw.12306.cn/otn/passcodeNew/getPassCodeNew?module=passenger&rand=sjrand&%s' % random.random() result = myurllib2.get(codeimg) img_path = './tkcode' open(img_path, 'wb').write(result) diff --git a/tkcode b/tkcode index 16e5bd0..f7c06e7 100644 Binary files a/tkcode and b/tkcode differ