Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update rules #49

Merged
merged 2 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 59 additions & 5 deletions bilibili-danmu-blocklist.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@
},
{
"type": 1,
"filter": "[\\d零一二三四五六七八九十百千万亿]+个?人",
"filter": "[\\d\\.Ww零一二三四五六七八九十百千万亿]+.*(个人|出来|你们好)",
"opened": true,
"id": 1735220571278730316,
"examples": [
"1.4w哥们你们好",
"34个人,你们好呀 ",
"6人出来",
"9个人支一声",
Expand All @@ -92,7 +93,7 @@
},
{
"type": 1,
"filter": "(顿|炖|遁|盾|挪)(出|煮)红(尘|城)",
"filter": "(顿|炖|遁|盾|挪|煮)(出|煮)红(尘|城)",
"opened": true,
"id": 1734955935777035996,
"examples": [
Expand All @@ -101,7 +102,8 @@
"盾出红尘",
"炖出红城",
"炖煮红尘",
"挪出红尘"
"挪出红尘",
"煮出红尘"
]
},
{
Expand All @@ -114,6 +116,28 @@
"姬霓太美"
]
},
{
"type": 1,
"filter": "^[\\d\\.Ww]+",
"opened": true,
"id": 1735476109207731527,
"examples": [
"1.3w了",
"1.6w"
]
},
{
"type": 1,
"filter": "[演|盐|颜][都|豆]不带?[演|盐|颜]",
"opened": true,
"id": 1735476109207758889,
"examples": [
"666,店名盐都不带盐",
"演都不演了",
"盐豆不盐了",
"颜都不颜了"
]
},
{
"type": 1,
"filter": "[\\d零一二三四五六七八九十]+[年\\.]?[\\d零一二三四五六七八九十]+[月\\.][\\d零一二三四五六七八九十]+[日\\.]?(\\s+\\d+:\\d+)?",
Expand All @@ -134,6 +158,16 @@
"23:15:00有人吗"
]
},
{
"type": 1,
"filter": "合影",
"opened": true,
"id": 1735476109208112493,
"examples": [
"合影",
"ricardo liu 合影纪念"
]
},
{
"type": 1,
"filter": "古希腊掌管.+的神",
Expand Down Expand Up @@ -192,10 +226,11 @@
},
{
"type": 1,
"filter": "((八|巴|吧)个?(人|仁)|迈)(八|巴|拔)?个?(鹤|鶴|赫|河|盒|核|棍)",
"filter": "((八|巴|吧)\\s*个?(人|仁)\\s*|迈)(八|巴|拔)?\\s*个?(鹤|鶴|赫|河|盒|核|棍)\\s*",
"opened": true,
"id": 1734955935777043450,
"examples": [
"八 人 八 鹤",
"八人八个鹤",
"八人八棍",
"八人八鹤",
Expand Down Expand Up @@ -666,6 +701,15 @@
"99999"
]
},
{
"type": 1,
"filter": "金色传说",
"opened": true,
"id": 1735476109213008527,
"examples": [
"哇金色传说"
]
},
{
"type": 1,
"filter": "^.+[,,](([Yy][Ee][Ss])|([Nn][Oo]))[!!]?$",
Expand Down Expand Up @@ -873,12 +917,13 @@
},
{
"type": 1,
"filter": "我(了|嘞)个豆",
"filter": "我(了|嘞)个豆?",
"opened": true,
"id": 1734955935777093884,
"examples": [
"好超前,我了个豆",
"我了个豆",
"我嘞个1.3w+",
"我嘞个豆"
]
},
Expand All @@ -899,6 +944,15 @@
"opened": true,
"id": 1734955935777096088
},
{
"type": 0,
"filter": "极乐净土",
"opened": true,
"id": 1735476109214577754,
"examples": [
"极乐净土"
]
},
{
"type": 1,
"filter": "[Mm][Aa][Gg][Aa]",
Expand Down
52 changes: 48 additions & 4 deletions rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@
- `9.9包邮交个朋友`
- 排除示例:
- `[\d零一二三四五六七八九十百千万亿]+个?人`
- `[\d\.Ww零一二三四五六七八九十百千万亿]+.*(个人|出来|你们好)`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `1.4w哥们你们好`
- `34个人,你们好呀 `
- `6人出来`
- `9个人支一声`
- `八个人`
- 排除示例:
- `(顿|炖|遁|盾|挪)(出|煮)红(尘|城)`
- `(顿|炖|遁|盾|挪|煮)(出|煮)红(尘|城)`
- 类型:正则
- 是否启用:是
- 匹配示例:
Expand All @@ -80,6 +81,7 @@
- `炖出红城`
- `炖煮红尘`
- `挪出红尘`
- `煮出红尘`
- 排除示例:
- `(鸡|姬)(你|霓)太美`
Expand All @@ -90,6 +92,24 @@
- `姬霓太美`
- 排除示例:
- `^[\d\.Ww]+`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `1.3w了`
- `1.6w`
- 排除示例:
- `[演|盐|颜][都|豆]不带?[演|盐|颜]`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `666,店名盐都不带盐`
- `演都不演了`
- `盐豆不盐了`
- `颜都不颜了`
- 排除示例:
- `[\d零一二三四五六七八九十]+[年\.]?[\d零一二三四五六七八九十]+[月\.][\d零一二三四五六七八九十]+[日\.]?(\s+\d+:\d+)?`
- 类型:正则
- 是否启用:是
Expand All @@ -106,6 +126,14 @@
- `23:15:00有人吗`
- 排除示例:
- `合影`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `合影`
- `ricardo liu 合影纪念`
- 排除示例:
- `古希腊掌管.+的神`
- 类型:正则
- 是否启用:是
Expand Down Expand Up @@ -149,10 +177,11 @@
- `亿拍既合`
- 排除示例:
- `((八|巴|吧)个?(人|仁)|迈)(八|巴|拔)?个?(鹤|鶴|赫|河|盒|核|棍)`
- `((八|巴|吧)\s*个?(人|仁)\s*|迈)(八|巴|拔)?\s*个?(鹤|鶴|赫|河|盒|核|棍)\s*`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `八 人 八 鹤`
- `八人八个鹤`
- `八人八棍`
- `八人八鹤`
Expand Down Expand Up @@ -537,6 +566,13 @@
- `99999`
- 排除示例:
- `金色传说`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `哇金色传说`
- 排除示例:
- `^.+[,,](([Yy][Ee][Ss])|([Nn][Oo]))[!!]?$`
- 类型:正则
- 是否启用:是
Expand Down Expand Up @@ -724,12 +760,13 @@
- 排除示例:
- `我(了|嘞)个豆`
- `我(了|嘞)个豆?`
- 类型:正则
- 是否启用:是
- 匹配示例:
- `好超前,我了个豆`
- `我了个豆`
- `我嘞个1.3w+`
- `我嘞个豆`
- 排除示例:
Expand All @@ -749,6 +786,13 @@
- 排除示例:
- `极乐净土`
- 类型:文本
- 是否启用:是
- 匹配示例:
- `极乐净土`
- 排除示例:
- `[Mm][Aa][Gg][Aa]`
- 类型:正则
- 是否启用:是
Expand Down