diff --git a/spider/main.py b/spider/main.py index 1d3e0a1..ef4fac9 100644 --- a/spider/main.py +++ b/spider/main.py @@ -319,7 +319,6 @@ class Auto: self.tab.ele('t:input@id=signatureMinor').input(child_full_name) self.tab.wait(0.1) self.tab.ele('t:input@id=signatureParentGuardian').input(parent_full_name) - self.solve_recaptcha() return self.submit_file( child_full_name=child_full_name, @@ -336,6 +335,7 @@ class Auto: except Exception as e: logger.error(f"填写问卷失败: {e}") + return False # 提交问卷 def submit_file(self, child_full_name: str, parent_full_name: str, child_birthday: str, address_str: str, city_name: str, parent_phone: str, postcode: str, province: str, email: str, text: str):