summaryrefslogtreecommitdiff
path: root/bin/conf/sifter/sifter.json
blob: 07ef58ff1a9191e4075a25439d8c308980a9a48b (plain)
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{
    "compile_table": "SIFTER_CONFIG_FULL",
    "group_table":"SIFTER_GROUP",
    "rules": 
    [
{
           "compile_id": 1,
           "service": 5222,
           "action": 1,
           "do_blacklist": 1,
           "do_log": 0,
           "effective_rage": 0,
           "user_region": "MEDIA_ID",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "0_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "/vmind",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 2,
           "service": 5222,
           "action": 2,
           "do_blacklist": 1,
           "do_log": 1,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_ID",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "1_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "/vmind",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 3,
           "service": 5221,
           "action": 1,
           "do_blacklist": 2,
           "do_log": 0,
           "effective_rage": 0,
           "user_region": "MEDIA_ID",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "2_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "&vid=",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 4,
           "service": 5221,
           "action": 2,
           "do_blacklist": 2,
           "do_log": 1,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_ID",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "3_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "<image><index>0</index><url><![CDATA[http://",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 5,
           "service": 2121,
           "action": 2,
           "do_blacklist": 4,
           "do_log": 1,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_ID",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "4_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "#EXTINF:",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 6,
           "service": 2121,
           "action": 4,
           "do_blacklist": 4,
           "do_log": 2,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_REOFFSET",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "5_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "#EXT-X-MEDIA-SEQUENCE:",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 7,
           "service": 1122,
           "action": 4,
           "do_blacklist": 5,
           "do_log": 1,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_REOFFSET",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "6_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "Frag",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 8,
           "service": 2221,
           "action": 2,
           "do_blacklist": 7,
           "do_log": 1,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_ID",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "7_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "http://",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 9,
           "service": 2221,
           "action": 4,
           "do_blacklist": 7,
           "do_log": 2,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_REOFFSET",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "8_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "&ts_seg_no=",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        },
{
           "compile_id": 10,
           "service": 4122,
           "action": 3,
           "do_blacklist": 8,
           "do_log": 1,
           "effective_rage": 0,
           "user_region": "FRAG_UNIT_ABOFFSET",
           "is_valid": "yes",
           "groups": [
                {
                    "group_name": "9_start",
                    "regions": [
                        {
                            "table_name": "SIFTER_START",
                            "table_type": "string",
                            "table_content": {
                                "keywords": "range=",
                                "expr_type": "none",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        }   ]
}