We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4606828 commit 506f2aaCopy full SHA for 506f2aa
1 file changed
scripts/sync_config.py
@@ -5,7 +5,7 @@
5
import re
6
7
8
-LEETCODE_URL = "https://leetcode.com"
+LEETCODE_DOMAIN_NAME = "eetcode.com"
9
10
CSRFTOKEN_KEY = "csrftoken"
11
LEETCODE_SESSION_KEY = "LEETCODE_SESSION"
@@ -20,7 +20,7 @@
20
21
22
def main() -> None:
23
- cj = browser_cookie3.chrome(domain_name="leetcode.com")
+ cj = browser_cookie3.chrome(domain_name=LEETCODE_DOMAIN_NAME)
24
cookies = {c.name: c.value for c in cj}
25
26
csrftoken = cookies[CSRFTOKEN_KEY]
0 commit comments