anilife update 2022.11.09(01.)

This commit is contained in:
2022-11-09 17:27:09 +09:00
parent 027e41be46
commit bfa64d4b8f
2 changed files with 13 additions and 15 deletions

View File

@@ -609,12 +609,15 @@ class LogicAniLife(LogicModuleBase):
ChromeDriverManager().install(), chrome_options=options
)
else:
driver_bin_path = os.path.join(
os.path.dirname(__file__), "bin", f"{LogicAniLife.os_platform}"
)
driver_path = f"{driver_bin_path}/chromedriver"
# driver_bin_path = os.path.join(
# os.path.dirname(__file__), "bin", f"{LogicAniLife.os_platform}"
# )
# driver_path = f"{driver_bin_path}/chromedriver"
# driver = webdriver.Chrome(
# executable_path=driver_path, chrome_options=options
# )
driver = webdriver.Chrome(
executable_path=driver_path, chrome_options=options
ChromeDriverManager().install(), chrome_options=options
)
stealth(