Skip to content

Commit 6b68375

Browse files
authored
fix: radar rules (#17639)
- remove search parameters in source - maintain the same hostname in `source` of each radar rule
1 parent 7e5502f commit 6b68375

File tree

17 files changed

+125
-94
lines changed

17 files changed

+125
-94
lines changed

lib/routes/asus/bios.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ export const route: Route = {
9191
'www.asus.com/:region/laptops/:productLine/:series/:model',
9292
'www.asus.com/:region/motherboards-components/:productLine/:series/:model',
9393
'www.asus.com/:region/networking-iot-servers/:productLine/:series/:model',
94-
'asus.com.cn/',
9594
],
9695
target: '/bios/:model',
9796
},

lib/routes/bing/daily-wallpaper.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ export const route: Route = {
1010
},
1111
radar: [
1212
{
13-
source: ['www.bing.com/', 'cn.bing.com/'],
13+
source: ['www.bing.com/'],
14+
target: '',
15+
},
16+
{
17+
source: ['cn.bing.com/'],
1418
target: '',
1519
},
1620
],

lib/routes/ccfa/index.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,57 +159,57 @@ export const route: Route = {
159159
},
160160
{
161161
title: '协会动态',
162-
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=1'],
162+
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'],
163163
target: '/1',
164164
},
165165
{
166166
title: '行业动态',
167-
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=2'],
167+
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'],
168168
target: '/2',
169169
},
170170
{
171171
title: '政策/报告/标准',
172-
source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp?type=33'],
172+
source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp'],
173173
target: '/33',
174174
},
175175
{
176176
title: '行业统计',
177-
source: ['www.ccfa.org.cn/portal/cn/lsbq.jsp?type=10003'],
177+
source: ['www.ccfa.org.cn/portal/cn/lsbq.jsp'],
178178
target: '/10003',
179179
},
180180
{
181181
title: '创新案例',
182-
source: ['www.ccfa.org.cn/portal/cn/hybzs_list.jsp?type=10004'],
182+
source: ['www.ccfa.org.cn/portal/cn/hybzs_list.jsp'],
183183
target: '/10004',
184184
},
185185
{
186186
title: '党建工作',
187-
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=7'],
187+
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'],
188188
target: '/7',
189189
},
190190
{
191191
title: '新消费论坛',
192-
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=10005'],
192+
source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'],
193193
target: '/10005',
194194
},
195195
{
196196
title: '政策/报告/标准 - 行业报告',
197-
source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp?type=33'],
197+
source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp'],
198198
target: '/33',
199199
},
200200
{
201201
title: '政策/报告/标准 - 行业标准',
202-
source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp?type=34'],
202+
source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp'],
203203
target: '/34',
204204
},
205205
{
206206
title: '政策/报告/标准 - 行业政策',
207-
source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp?type=39'],
207+
source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp'],
208208
target: '/39',
209209
},
210210
{
211211
title: '政策/报告/标准 - 政策权威解读',
212-
source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp?type=40'],
212+
source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp'],
213213
target: '/40',
214214
},
215215
],

lib/routes/cpcaauto/index.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -143,112 +143,112 @@ export const route: Route = {
143143
},
144144
{
145145
title: '行业新闻 - 国内乘用车',
146-
source: ['cpcaauto.com/news.php?types=news&anid=10'],
146+
source: ['cpcaauto.com/news.php'],
147147
target: '/news/news/10',
148148
},
149149
{
150150
title: '行业新闻 - 进口及国外乘用车',
151-
source: ['cpcaauto.com/news.php?types=news&anid=64'],
151+
source: ['cpcaauto.com/news.php'],
152152
target: '/news/news/64',
153153
},
154154
{
155155
title: '行业新闻 - 后市场',
156-
source: ['cpcaauto.com/news.php?types=news&anid=44'],
156+
source: ['cpcaauto.com/news.php'],
157157
target: '/news/news/44',
158158
},
159159
{
160160
title: '行业新闻 - 商用车',
161-
source: ['cpcaauto.com/news.php?types=news&anid=62'],
161+
source: ['cpcaauto.com/news.php'],
162162
target: '/news/news/62',
163163
},
164164
{
165165
title: '车市解读 - 周度',
166-
source: ['cpcaauto.com/news.php?types=csjd&anid=128'],
166+
source: ['cpcaauto.com/news.php'],
167167
target: '/news/csjd/128',
168168
},
169169
{
170170
title: '车市解读 - 月度',
171-
source: ['cpcaauto.com/news.php?types=csjd&anid=129'],
171+
source: ['cpcaauto.com/news.php'],
172172
target: '/news/csjd/129',
173173
},
174174
{
175175
title: '车市解读 - 指数',
176-
source: ['cpcaauto.com/news.php?types=csjd&anid=130'],
176+
source: ['cpcaauto.com/news.php'],
177177
target: '/news/csjd/130',
178178
},
179179
{
180180
title: '车市解读 - 预测',
181-
source: ['cpcaauto.com/news.php?types=csjd&anid=131'],
181+
source: ['cpcaauto.com/news.php'],
182182
target: '/news/csjd/131',
183183
},
184184
{
185185
title: '发布会报告 - 上海市场上牌数',
186-
source: ['cpcaauto.com/news.php?types=bgzl&anid=119'],
186+
source: ['cpcaauto.com/news.php'],
187187
target: '/news/bgzl/119',
188188
},
189189
{
190190
title: '发布会报告 - 京城车市',
191-
source: ['cpcaauto.com/news.php?types=bgzl&anid=122'],
191+
source: ['cpcaauto.com/news.php'],
192192
target: '/news/bgzl/122',
193193
},
194194
{
195195
title: '发布会报告 - 进口车市场分析',
196-
source: ['cpcaauto.com/news.php?types=bgzl&anid=120'],
196+
source: ['cpcaauto.com/news.php'],
197197
target: '/news/bgzl/120',
198198
},
199199
{
200200
title: '发布会报告 - 二手车市场分析',
201-
source: ['cpcaauto.com/news.php?types=bgzl&anid=121'],
201+
source: ['cpcaauto.com/news.php'],
202202
target: '/news/bgzl/121',
203203
},
204204
{
205205
title: '发布会报告 - 价格指数',
206-
source: ['cpcaauto.com/news.php?types=bgzl&anid=124'],
206+
source: ['cpcaauto.com/news.php'],
207207
target: '/news/bgzl/124',
208208
},
209209
{
210210
title: '发布会报告 - 热点评述',
211-
source: ['cpcaauto.com/news.php?types=bgzl&anid=125'],
211+
source: ['cpcaauto.com/news.php'],
212212
target: '/news/bgzl/125',
213213
},
214214
{
215215
title: '发布会报告 - 新能源月报',
216-
source: ['cpcaauto.com/news.php?types=bgzl&anid=126'],
216+
source: ['cpcaauto.com/news.php'],
217217
target: '/news/bgzl/126',
218218
},
219219
{
220220
title: '发布会报告 - 商用车月报',
221-
source: ['cpcaauto.com/news.php?types=bgzl&anid=127'],
221+
source: ['cpcaauto.com/news.php'],
222222
target: '/news/bgzl/127',
223223
},
224224
{
225225
title: '发布会报告 - 政策分析',
226-
source: ['cpcaauto.com/news.php?types=bgzl&anid=123'],
226+
source: ['cpcaauto.com/news.php'],
227227
target: '/news/bgzl/123',
228228
},
229229
{
230230
title: '经济与政策 - 一周经济',
231-
source: ['cpcaauto.com/news.php?types=meeting&anid=46'],
231+
source: ['cpcaauto.com/news.php'],
232232
target: '/news/meeting/46',
233233
},
234234
{
235235
title: '经济与政策 - 一周政策',
236-
source: ['cpcaauto.com/news.php?types=meeting&anid=47'],
236+
source: ['cpcaauto.com/news.php'],
237237
target: '/news/meeting/47',
238238
},
239239
{
240240
title: '乘联会论坛 - 论坛文章',
241-
source: ['cpcaauto.com/news.php?types=yjsy&anid=49'],
241+
source: ['cpcaauto.com/news.php'],
242242
target: '/news/yjsy/49',
243243
},
244244
{
245245
title: '乘联会论坛 - 两会',
246-
source: ['cpcaauto.com/news.php?types=yjsy&anid=111'],
246+
source: ['cpcaauto.com/news.php'],
247247
target: '/news/yjsy/111',
248248
},
249249
{
250250
title: '乘联会论坛 - 车展看点',
251-
source: ['cpcaauto.com/news.php?types=yjsy&anid=113'],
251+
source: ['cpcaauto.com/news.php'],
252252
target: '/news/yjsy/113',
253253
},
254254
],

lib/routes/ecnu/jwc.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export const route: Route = {
1313
example: '/ecnu/jwc',
1414
radar: [
1515
{
16-
source: ['www.jwc.ecnu.edu.cn', 'www.ecnu.edu.cn'],
16+
source: ['www.jwc.ecnu.edu.cn'],
17+
target: '/tzgg',
18+
},
19+
{
20+
source: ['www.ecnu.edu.cn'],
1721
target: '/tzgg',
1822
},
1923
],

0 commit comments

Comments
 (0)