0.0.3
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user