This commit is contained in:
2025-12-12 15:16:40 +08:00
parent 3bdb45bb50
commit ef4746f592
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
# 0.0.3
- 修复bug
# 0.0.2
- 修复bug
# 0.0.1

View File

@@ -15,8 +15,8 @@ from auto_challenge import ReCaptchaHandler
class Auto:
def __init__(self, http: str = None):
# self.browser = Chromium(http)
self.browser = Chromium()
self.browser = Chromium(http)
# self.browser = Chromium()
self.tab = self.browser.latest_tab
pass
@@ -505,6 +505,7 @@ def run_task_with_proxy(proxy: str, stop_event: threading.Event) -> None:
if not created:
return
browser_id, http = created
logger.info(f"browser_id: {browser_id} http: {http}")
if stop_event.is_set():
return
auto = Auto(http=http)