This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
av-frag-rssb/bin/conf/sifter/sifter.json
2018-09-29 14:57:32 +08:00

276 lines
8.8 KiB
JSON

{
"compile_table": "SIFTER_CONFIG_FULL",
"group_table":"SIFTER_GROUP",
"rules":
[
{
"compile_id": 1,
"service": 2221,
"action": 2,
"do_blacklist": 1,
"do_log": 1,
"effective_rage": 0,
"user_region": "FRAG_UNIT_ID",
"is_valid": "yes",
"groups": [
{
"group_name": "0_start",
"regions": [
{
"table_name": "SIFTER_START",
"table_type": "string",
"table_content": {
"keywords": "http://",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
},
{
"compile_id": 2,
"service": 2221,
"action": 4,
"do_blacklist": 1,
"do_log": 2,
"effective_rage": 0,
"user_region": "FRAG_UNIT_REOFFSET",
"is_valid": "yes",
"groups": [
{
"group_name": "1_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": 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": 3122,
"action": 4,
"do_blacklist": 4,
"do_log": 1,
"effective_rage": 0,
"user_region": "FRAG_UNIT_ABOFFSET",
"is_valid": "yes",
"groups": [
{
"group_name": "4_start",
"regions": [
{
"table_name": "SIFTER_START",
"table_type": "string",
"table_content": {
"keywords": "range=",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
},
{
"compile_id": 6,
"service": 1122,
"action": 4,
"do_blacklist": 5,
"do_log": 1,
"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": "Frag",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
},
{
"compile_id": 7,
"service": 2121,
"action": 2,
"do_blacklist": 7,
"do_log": 1,
"effective_rage": 0,
"user_region": "FRAG_UNIT_ID",
"is_valid": "yes",
"groups": [
{
"group_name": "6_start",
"regions": [
{
"table_name": "SIFTER_START",
"table_type": "string",
"table_content": {
"keywords": "#EXTINF:",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
},
{
"compile_id": 8,
"service": 2121,
"action": 4,
"do_blacklist": 7,
"do_log": 2,
"effective_rage": 0,
"user_region": "FRAG_UNIT_REOFFSET",
"is_valid": "yes",
"groups": [
{
"group_name": "7_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": 9,
"service": 5222,
"action": 1,
"do_blacklist": 8,
"do_log": 0,
"effective_rage": 0,
"user_region": "MEDIA_ID",
"is_valid": "yes",
"groups": [
{
"group_name": "8_start",
"regions": [
{
"table_name": "SIFTER_START",
"table_type": "string",
"table_content": {
"keywords": "/vmind",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
},
{
"compile_id": 10,
"service": 5222,
"action": 2,
"do_blacklist": 8,
"do_log": 1,
"effective_rage": 0,
"user_region": "FRAG_UNIT_ID",
"is_valid": "yes",
"groups": [
{
"group_name": "9_start",
"regions": [
{
"table_name": "SIFTER_START",
"table_type": "string",
"table_content": {
"keywords": "/vmind",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
} ]
}