-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_template.json
More file actions
110 lines (101 loc) · 3.1 KB
/
config_template.json
File metadata and controls
110 lines (101 loc) · 3.1 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"_comment": "Facebook Timeline Cleanup Configuration Template",
"_instructions": [
"1. Copy this file to 'config.json' or another name",
"2. Fill in your email and password (or use environment variables)",
"3. Adjust cleaning and timing parameters as needed",
"4. ALWAYS test with 'whatif': true before real deletions",
"5. Never commit configuration files with passwords to version control"
],
"credentials": {
"_comment": "Login credentials for Facebook account",
"email": "your_email@example.com",
"password": "your_password_or_leave_empty_for_environment_variable"
},
"cleaning": {
"_comment": "Parameters controlling what content is processed",
"posts_per_session": 10,
"max_sessions": 5,
"target_post_types": [
"status",
"photo",
"video",
"link",
"all"
]
},
"timing": {
"_comment": "Timing controls to avoid rate limiting and detection",
"session_delay": 300,
"page_timeout": 30,
"min_action_delay": 1.0,
"max_action_delay": 3.0,
"min_delete_delay": 3.0,
"max_delete_delay": 7.0
},
"browser": {
"_comment": "Browser configuration and behavior",
"headless": false,
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"window_size": {
"width": 1366,
"height": 768
}
},
"execution": {
"_comment": "Execution mode controls",
"whatif": true,
"verbose": false
},
"_examples": {
"_comment": "Example configurations for different use cases",
"conservative": {
"cleaning": {
"posts_per_session": 5,
"max_sessions": 2
},
"timing": {
"session_delay": 600,
"min_delete_delay": 5.0,
"max_delete_delay": 10.0
},
"execution": {
"whatif": true,
"verbose": true
}
},
"standard": {
"cleaning": {
"posts_per_session": 10,
"max_sessions": 5
},
"timing": {
"session_delay": 300,
"min_delete_delay": 3.0,
"max_delete_delay": 7.0
},
"execution": {
"whatif": false,
"verbose": false
}
},
"aggressive": {
"cleaning": {
"posts_per_session": 20,
"max_sessions": 10
},
"timing": {
"session_delay": 180,
"min_delete_delay": 2.0,
"max_delete_delay": 4.0
},
"browser": {
"headless": true
},
"execution": {
"whatif": false,
"verbose": false
}
}
}
}