fix captcha processing

This commit is contained in:
msramalho
2024-01-23 12:41:14 +00:00
parent b01dbe6299
commit 8d1a86a7fa

View File

@@ -17,7 +17,7 @@ def captcha_handler(captcha):
key = input( key = input(
f"CAPTCHA DETECTED, please solve it and input the solution. url= {captcha.get_url()} :" f"CAPTCHA DETECTED, please solve it and input the solution. url= {captcha.get_url()} :"
).strip() ).strip()
return captcha.try_again(key) return captcha.try_again(key.strip())
@contextmanager @contextmanager