Skip to content

Commit

Permalink
update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
umjammer committed Nov 3, 2023
1 parent 61f2d1a commit a3ce852
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ run.sh

profile/
.idea/
venv/
1 change: 1 addition & 0 deletions k_auto_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a3ce852

Please sign in to comment.