Skip to content

Commit 506f2aa

Browse files
committed
fix script
1 parent 4606828 commit 506f2aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/sync_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import re
66

77

8-
LEETCODE_URL = "https://leetcode.com"
8+
LEETCODE_DOMAIN_NAME = "eetcode.com"
99

1010
CSRFTOKEN_KEY = "csrftoken"
1111
LEETCODE_SESSION_KEY = "LEETCODE_SESSION"
@@ -20,7 +20,7 @@
2020

2121

2222
def main() -> None:
23-
cj = browser_cookie3.chrome(domain_name="leetcode.com")
23+
cj = browser_cookie3.chrome(domain_name=LEETCODE_DOMAIN_NAME)
2424
cookies = {c.name: c.value for c in cj}
2525

2626
csrftoken = cookies[CSRFTOKEN_KEY]

0 commit comments

Comments
 (0)