-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcustom.py.example
More file actions
62 lines (58 loc) · 1.44 KB
/
custom.py.example
File metadata and controls
62 lines (58 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
USE_PROXY = False # Set to True to enable proxies globally
proxies = {
"all": "socks5://127.0.0.1:114514",
}
USER_CONFIGS = [
{
"label": "User_Alice",
"tables": [
{
"profileId": "114514",
"course_ids": [
"COURSEID_A1",
"COURSEID_A2",
],
},
{
"profileId": "1919810",
"course_ids": [
"COURSEID_B1",
"COURSEID_B2",
],
},
],
"cookies": {
"JSESSIONID": "ALICE_SESSION_ID_HERE",
"SERVERNAME": "c1",
},
},
{
"label": "User_Bob",
"tables": [
{
"profileId": "233",
"course_ids": [
"COURSEID_C1",
"COURSEID_C2",
],
},
],
"cookies": {
"JSESSIONID": "BOB_SESSION_ID_HERE",
"SERVERNAME": "c2",
},
},
# ... other user configs for selection ...
]
INQUIRY_USER_DATA = {
"label": "DefaultInquiryUser",
"profileId": ["114", "514", "1919", "810"],
"cookies": { # Ensure these are filled
"JSESSIONID": "YOUR_INQUIRY_JSESSIONID_HERE",
"SERVERNAME": "YOUR_INQUIRY_SERVERNAME_HERE",
},
}
ENROLLMENT_DATA_API_PARAMS = {
"projectId": "1",
"semesterId": "114514",
}