From a3ce852279ec4ae83dfacb91dfa9a09af059b662 Mon Sep 17 00:00:00 2001 From: Naohide Sano Date: Sat, 4 Nov 2023 00:00:03 +0900 Subject: [PATCH] update settings --- .gitignore | 1 + k_auto_book.py | 1 + requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d8c75de..bfc8798 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ run.sh profile/ .idea/ +venv/ diff --git a/k_auto_book.py b/k_auto_book.py index d8f8780..57a1011 100755 --- a/k_auto_book.py +++ b/k_auto_book.py @@ -36,6 +36,7 @@ def _initialize_driver(config, profile="chrome"): if config.headless: print(f"headless: {config.headless}") + chrome_options.headless = True chrome_options.add_argument('--headless') chrome_options.add_argument('--window-size=960,1222') if config.profile_directory: diff --git a/requirements.txt b/requirements.txt index 73be2fe..1f95f75 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ tqdm==4.66.1 requests==2.31.0 cssselect==1.2.0 lxml==4.9.3 -Pillow==10.0.0 -selenium==4.12.0 +Pillow==10.1.0 +selenium==4.15.1 keyring==24.2.0 -pycryptodome==3.18.0 +pycryptodome==3.19.0