Skip to content

Commit 60f86fc

Browse files
author
Mark Zhou
authored
Update CodeForcesScraper.py
1 parent 1d3a80f commit 60f86fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CodeForcesScraper.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ def get_solutions(username, all_info=None):
5757
sub_id_info[info['solution_id']] = info
5858

5959
options = Options()
60-
options.add_argument('--start-maximized')
60+
options.add_argument('headless')
61+
options.add_argument('window-size=1920x1080')
62+
options.add_argument("disable-gpu")
6163

6264
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
6365
driver.get(f'https://codeforces.com/submissions/{username}')

0 commit comments

Comments
 (0)