From 6b6837567cb4255ed7d90e36be17c858df96b849 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 19 Nov 2024 22:52:02 -0800 Subject: [PATCH] fix: radar rules (#17639) - remove search parameters in source - maintain the same hostname in `source` of each radar rule --- lib/routes/asus/bios.ts | 1 - lib/routes/bing/daily-wallpaper.ts | 6 +- lib/routes/ccfa/index.ts | 22 ++++---- lib/routes/cpcaauto/index.ts | 44 +++++++-------- lib/routes/ecnu/jwc.ts | 6 +- lib/routes/gov/cbirc/index.ts | 70 ++++++++++++------------ lib/routes/hket/index.ts | 14 ++++- lib/routes/hunau/gfxy/index.ts | 2 +- lib/routes/hunau/ied.ts | 2 +- lib/routes/hunau/jwc.ts | 2 +- lib/routes/hunau/xky/index.ts | 2 +- lib/routes/joins/chinese.ts | 26 ++++----- lib/routes/stbu/jsjxy.ts | 5 +- lib/routes/yahoo/news/listid.ts | 5 +- lib/routes/yahoo/news/provider-helper.ts | 5 +- lib/routes/yahoo/news/provider.ts | 5 +- lib/routes/zjut/cs/index.ts | 2 +- 17 files changed, 125 insertions(+), 94 deletions(-) diff --git a/lib/routes/asus/bios.ts b/lib/routes/asus/bios.ts index adc9fd6c2..2bd81a185 100644 --- a/lib/routes/asus/bios.ts +++ b/lib/routes/asus/bios.ts @@ -91,7 +91,6 @@ export const route: Route = { 'www.asus.com/:region/laptops/:productLine/:series/:model', 'www.asus.com/:region/motherboards-components/:productLine/:series/:model', 'www.asus.com/:region/networking-iot-servers/:productLine/:series/:model', - 'asus.com.cn/', ], target: '/bios/:model', }, diff --git a/lib/routes/bing/daily-wallpaper.ts b/lib/routes/bing/daily-wallpaper.ts index 7d6051b78..4545b273a 100644 --- a/lib/routes/bing/daily-wallpaper.ts +++ b/lib/routes/bing/daily-wallpaper.ts @@ -10,7 +10,11 @@ export const route: Route = { }, radar: [ { - source: ['www.bing.com/', 'cn.bing.com/'], + source: ['www.bing.com/'], + target: '', + }, + { + source: ['cn.bing.com/'], target: '', }, ], diff --git a/lib/routes/ccfa/index.ts b/lib/routes/ccfa/index.ts index 13b9ebab3..f3f870eed 100644 --- a/lib/routes/ccfa/index.ts +++ b/lib/routes/ccfa/index.ts @@ -159,57 +159,57 @@ export const route: Route = { }, { title: '协会动态', - source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=1'], + source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'], target: '/1', }, { title: '行业动态', - source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=2'], + source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'], target: '/2', }, { title: '政策/报告/标准', - source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp?type=33'], + source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp'], target: '/33', }, { title: '行业统计', - source: ['www.ccfa.org.cn/portal/cn/lsbq.jsp?type=10003'], + source: ['www.ccfa.org.cn/portal/cn/lsbq.jsp'], target: '/10003', }, { title: '创新案例', - source: ['www.ccfa.org.cn/portal/cn/hybzs_list.jsp?type=10004'], + source: ['www.ccfa.org.cn/portal/cn/hybzs_list.jsp'], target: '/10004', }, { title: '党建工作', - source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=7'], + source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'], target: '/7', }, { title: '新消费论坛', - source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp?type=10005'], + source: ['www.ccfa.org.cn/portal/cn/xiehui_list.jsp'], target: '/10005', }, { title: '政策/报告/标准 - 行业报告', - source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp?type=33'], + source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp'], target: '/33', }, { title: '政策/报告/标准 - 行业标准', - source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp?type=34'], + source: ['www.ccfa.org.cn/portal/cn/hybz_list.jsp'], target: '/34', }, { title: '政策/报告/标准 - 行业政策', - source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp?type=39'], + source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp'], target: '/39', }, { title: '政策/报告/标准 - 政策权威解读', - source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp?type=40'], + source: ['www.ccfa.org.cn/portal/cn/fangyizhuanqu_list.jsp'], target: '/40', }, ], diff --git a/lib/routes/cpcaauto/index.ts b/lib/routes/cpcaauto/index.ts index 357b14204..296999fad 100644 --- a/lib/routes/cpcaauto/index.ts +++ b/lib/routes/cpcaauto/index.ts @@ -143,112 +143,112 @@ export const route: Route = { }, { title: '行业新闻 - 国内乘用车', - source: ['cpcaauto.com/news.php?types=news&anid=10'], + source: ['cpcaauto.com/news.php'], target: '/news/news/10', }, { title: '行业新闻 - 进口及国外乘用车', - source: ['cpcaauto.com/news.php?types=news&anid=64'], + source: ['cpcaauto.com/news.php'], target: '/news/news/64', }, { title: '行业新闻 - 后市场', - source: ['cpcaauto.com/news.php?types=news&anid=44'], + source: ['cpcaauto.com/news.php'], target: '/news/news/44', }, { title: '行业新闻 - 商用车', - source: ['cpcaauto.com/news.php?types=news&anid=62'], + source: ['cpcaauto.com/news.php'], target: '/news/news/62', }, { title: '车市解读 - 周度', - source: ['cpcaauto.com/news.php?types=csjd&anid=128'], + source: ['cpcaauto.com/news.php'], target: '/news/csjd/128', }, { title: '车市解读 - 月度', - source: ['cpcaauto.com/news.php?types=csjd&anid=129'], + source: ['cpcaauto.com/news.php'], target: '/news/csjd/129', }, { title: '车市解读 - 指数', - source: ['cpcaauto.com/news.php?types=csjd&anid=130'], + source: ['cpcaauto.com/news.php'], target: '/news/csjd/130', }, { title: '车市解读 - 预测', - source: ['cpcaauto.com/news.php?types=csjd&anid=131'], + source: ['cpcaauto.com/news.php'], target: '/news/csjd/131', }, { title: '发布会报告 - 上海市场上牌数', - source: ['cpcaauto.com/news.php?types=bgzl&anid=119'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/119', }, { title: '发布会报告 - 京城车市', - source: ['cpcaauto.com/news.php?types=bgzl&anid=122'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/122', }, { title: '发布会报告 - 进口车市场分析', - source: ['cpcaauto.com/news.php?types=bgzl&anid=120'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/120', }, { title: '发布会报告 - 二手车市场分析', - source: ['cpcaauto.com/news.php?types=bgzl&anid=121'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/121', }, { title: '发布会报告 - 价格指数', - source: ['cpcaauto.com/news.php?types=bgzl&anid=124'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/124', }, { title: '发布会报告 - 热点评述', - source: ['cpcaauto.com/news.php?types=bgzl&anid=125'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/125', }, { title: '发布会报告 - 新能源月报', - source: ['cpcaauto.com/news.php?types=bgzl&anid=126'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/126', }, { title: '发布会报告 - 商用车月报', - source: ['cpcaauto.com/news.php?types=bgzl&anid=127'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/127', }, { title: '发布会报告 - 政策分析', - source: ['cpcaauto.com/news.php?types=bgzl&anid=123'], + source: ['cpcaauto.com/news.php'], target: '/news/bgzl/123', }, { title: '经济与政策 - 一周经济', - source: ['cpcaauto.com/news.php?types=meeting&anid=46'], + source: ['cpcaauto.com/news.php'], target: '/news/meeting/46', }, { title: '经济与政策 - 一周政策', - source: ['cpcaauto.com/news.php?types=meeting&anid=47'], + source: ['cpcaauto.com/news.php'], target: '/news/meeting/47', }, { title: '乘联会论坛 - 论坛文章', - source: ['cpcaauto.com/news.php?types=yjsy&anid=49'], + source: ['cpcaauto.com/news.php'], target: '/news/yjsy/49', }, { title: '乘联会论坛 - 两会', - source: ['cpcaauto.com/news.php?types=yjsy&anid=111'], + source: ['cpcaauto.com/news.php'], target: '/news/yjsy/111', }, { title: '乘联会论坛 - 车展看点', - source: ['cpcaauto.com/news.php?types=yjsy&anid=113'], + source: ['cpcaauto.com/news.php'], target: '/news/yjsy/113', }, ], diff --git a/lib/routes/ecnu/jwc.ts b/lib/routes/ecnu/jwc.ts index 2b9ceab01..161f03085 100644 --- a/lib/routes/ecnu/jwc.ts +++ b/lib/routes/ecnu/jwc.ts @@ -13,7 +13,11 @@ export const route: Route = { example: '/ecnu/jwc', radar: [ { - source: ['www.jwc.ecnu.edu.cn', 'www.ecnu.edu.cn'], + source: ['www.jwc.ecnu.edu.cn'], + target: '/tzgg', + }, + { + source: ['www.ecnu.edu.cn'], target: '/tzgg', }, ], diff --git a/lib/routes/gov/cbirc/index.ts b/lib/routes/gov/cbirc/index.ts index e7ef41f0e..247389607 100644 --- a/lib/routes/gov/cbirc/index.ts +++ b/lib/routes/gov/cbirc/index.ts @@ -110,7 +110,7 @@ export const route: Route = { description: `:::tip 若订阅 [监管动态](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemId=915&itemUrl=ItemListRightList.html),网址为 \`https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemId=915&itemUrl=ItemListRightList.html\`。截取 \`itemId\` 的值 \`915\` 作为参数填入,此时路由为 [\`/gov/cbirc/915\`](https://rsshub.app/gov/cbirc/915)。 ::: - + #### [首页](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=899&itemId=971&itemUrl=ItemListRightMore.html) | [弹出公告](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=972&itemUrl=sss) | [法律声明](https://www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=4128&itemUrl=ItemListRightArticle.html) | @@ -194,67 +194,67 @@ export const route: Route = { }, { title: '首页 - 弹出公告', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=972&itemUrl=sss'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/972', }, { title: '首页 - 法律声明', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=971&itemId=4128&itemUrl=ItemListRightArticle.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4128', }, { title: '机构概况 - 主要职责', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=901&itemUrl=ItemListRightArticle.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/901', }, { title: '机构概况 - 总局领导', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=902&itemUrl=jigougaikuang/huilingdao.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/902', }, { title: '机构概况 - 内设机构', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=911&itemUrl=jigougaikuang/neishejigou.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/911', }, { title: '机构概况 - 直属行政机构', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=4243&itemUrl=jigougaikuang/zhishuxingzhengjigou.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4243', }, { title: '机构概况 - 派出机构', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=912&itemUrl=jigougaikuang/paichujigou.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/912', }, { title: '机构概况 - 联系方式', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=900&itemId=913&itemUrl=jigougaikuang/lianxifangshi.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/913', }, { title: '新闻资讯 - 监管动态', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=915&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/915', }, { title: '新闻资讯 - 政策解读', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=916&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/916', }, { title: '新闻资讯 - 领导活动及讲话', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=919&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/919', }, { title: '新闻资讯 - 新闻发布会及访谈', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=920&itemUrl=xinwenzixun/xinwenfabu.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/920', }, { title: '新闻资讯 - 新闻发言人', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=914&itemId=921&itemUrl=xinwenzixun/xinwenfayan.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/921', }, { @@ -264,107 +264,107 @@ export const route: Route = { }, { title: '政务信息 - 公告通知', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=925&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/925', }, { title: '政务信息 - 政策法规', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=926&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/926', }, { title: '政务信息 - 行政许可', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=930&itemUrl=zhengwuxinxi/xingzhengxuke.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/930', }, { title: '政务信息 - 行政处罚', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=931&itemUrl=zhengwuxinxi/xingzhengchufa.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/931', }, { title: '政务信息 - 行政监管措施', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=932&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/932', }, { title: '政务信息 - 人事信息', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=923&itemId=933&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/933', }, { title: '在线服务 - 行政许可办事服务指南', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=937&itemId=938&itemUrl=zaixianfuwu/banshifuwu.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/938', }, { title: '在线服务 - 查询服务', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=937&itemId=939&itemUrl=zaixianfuwu/chaxunfuwu.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/939', }, { title: '互动交流 - 政务咨询', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=946&itemUrl=tosubmenu:hudongjiaoliu/woyaozixun.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/946', }, { title: '互动交流 - 征集调查', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=950&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/950', }, { title: '互动交流 - 国务院办公厅开通“国家政务服务投诉与建议”小程序', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=945&itemId=952&itemUrl=http://www.gov.cn/xinwen/2018-09/20/content_5323786.htm'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/952', }, { title: '统计数据 - 统计信息', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=953&itemId=954&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/954', }, { title: '统计数据 - 数据图表', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=953&itemId=955&itemUrl=tosubmenu:tongjishuju/zongzichan.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/955', }, { title: '专题专栏 - 推进普惠金融高质量发展', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4234&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4234', }, { title: '专题专栏 - 防范和处置非法集资', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=963&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/963', }, { title: '专题专栏 - 消费者保护', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4097&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4097', }, { title: '专题专栏 - 法治宣传', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4106&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4106', }, { title: '专题专栏 - 政府网站年度报表', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=970&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/970', }, { title: '专题专栏 - 服务民营企业', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4171&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4171', }, { title: '专题专栏 - 服务制造业发展', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4217&itemUrl=ItemListRightList.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4217', }, { title: '专题专栏 - 学习贯彻习近平新时代中国特色社会主义思想主题教育', - source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html?itemPId=960&itemId=4229&itemUrl=ItemListRightMore.html'], + source: ['www.cbirc.gov.cn/cn/view/pages/ItemList.html'], target: '/cbirc/4229', }, ], diff --git a/lib/routes/hket/index.ts b/lib/routes/hket/index.ts index 39d751cf0..a44641bfb 100644 --- a/lib/routes/hket/index.ts +++ b/lib/routes/hket/index.ts @@ -40,7 +40,19 @@ export const route: Route = { }, radar: [ { - source: ['china.hket.com/:category/*', 'inews.hket.com/:category/*', 'topick.hket.com/:category/*', 'wealth.hket.com/:category/*'], + source: ['china.hket.com/:category/*'], + target: '/:category', + }, + { + source: ['inews.hket.com/:category/*'], + target: '/:category', + }, + { + source: ['topick.hket.com/:category/*'], + target: '/:category', + }, + { + source: ['wealth.hket.com/:category/*'], target: '/:category', }, { diff --git a/lib/routes/hunau/gfxy/index.ts b/lib/routes/hunau/gfxy/index.ts index 93477785e..d65aff853 100644 --- a/lib/routes/hunau/gfxy/index.ts +++ b/lib/routes/hunau/gfxy/index.ts @@ -16,7 +16,7 @@ export const route: Route = { }, radar: [ { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cn/tzgg_8472', 'xky.hunau.edu.cn/:category'], target: '/:category', }, ], diff --git a/lib/routes/hunau/ied.ts b/lib/routes/hunau/ied.ts index 676e7779a..f0887a380 100644 --- a/lib/routes/hunau/ied.ts +++ b/lib/routes/hunau/ied.ts @@ -16,7 +16,7 @@ export const route: Route = { }, radar: [ { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cn/tzgg_8472', 'xky.hunau.edu.cn/:category'], target: '/:category', }, ], diff --git a/lib/routes/hunau/jwc.ts b/lib/routes/hunau/jwc.ts index 939577a7d..0f01859e8 100644 --- a/lib/routes/hunau/jwc.ts +++ b/lib/routes/hunau/jwc.ts @@ -16,7 +16,7 @@ export const route: Route = { }, radar: [ { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cn/tzgg_8472', 'xky.hunau.edu.cn/:category'], target: '/:category', }, ], diff --git a/lib/routes/hunau/xky/index.ts b/lib/routes/hunau/xky/index.ts index c3b910128..6ebd135f0 100644 --- a/lib/routes/hunau/xky/index.ts +++ b/lib/routes/hunau/xky/index.ts @@ -16,7 +16,7 @@ export const route: Route = { }, radar: [ { - source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cntzgg_8472', 'xky.hunau.edu.cn/:category'], + source: ['xky.hunau.edu.cn/', 'xky.hunau.edu.cn/tzgg_8472', 'xky.hunau.edu.cn/:category'], target: '/:category', }, ], diff --git a/lib/routes/joins/chinese.ts b/lib/routes/joins/chinese.ts index 7ff4002bf..3ca47ab99 100644 --- a/lib/routes/joins/chinese.ts +++ b/lib/routes/joins/chinese.ts @@ -151,67 +151,67 @@ export const route: Route = { }, { title: '财经', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N1'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N1', }, { title: '国际', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N2'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N2', }, { title: '北韩', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N3'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N3', }, { title: '政治·社会', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N4'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N4', }, { title: '中国观察', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N5'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N5', }, { title: '社论', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N26'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N26', }, { title: '专栏·观点', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N11'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N11', }, { title: '军事·科技', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N6'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N6', }, { title: '娱乐体育', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N7'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N7', }, { title: '教育', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N8'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N8', }, { title: '旅游美食', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N9'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N9', }, { title: '时尚', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N10'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N10', }, { title: '图集', - source: ['chinese.joins.com/news/articleList.html?sc_section_code=S1N12'], + source: ['chinese.joins.com/news/articleList.html'], target: '/chinese/S1N12', }, ], diff --git a/lib/routes/stbu/jsjxy.ts b/lib/routes/stbu/jsjxy.ts index 2f4a8333f..985b05cdd 100644 --- a/lib/routes/stbu/jsjxy.ts +++ b/lib/routes/stbu/jsjxy.ts @@ -22,7 +22,10 @@ export const route: Route = { }, radar: [ { - source: ['jsjxy.stbu.edu.cn/news', 'jsjxy.stbu.edu.cn', 'stbu.edu.cn'], + source: ['jsjxy.stbu.edu.cn/news', 'jsjxy.stbu.edu.cn'], + }, + { + source: ['stbu.edu.cn'], }, ], name: '计算机学院 - 通知公告', diff --git a/lib/routes/yahoo/news/listid.ts b/lib/routes/yahoo/news/listid.ts index d2273142b..834287565 100644 --- a/lib/routes/yahoo/news/listid.ts +++ b/lib/routes/yahoo/news/listid.ts @@ -18,7 +18,10 @@ export const route: Route = { }, radar: [ { - source: ['hk.news.yahoo.com/', 'tw.news.yahoo.com/'], + source: ['hk.news.yahoo.com/'], + }, + { + source: ['tw.news.yahoo.com/'], }, ], name: '合作媒體', diff --git a/lib/routes/yahoo/news/provider-helper.ts b/lib/routes/yahoo/news/provider-helper.ts index 3ff3e0c4c..505968c4e 100644 --- a/lib/routes/yahoo/news/provider-helper.ts +++ b/lib/routes/yahoo/news/provider-helper.ts @@ -18,7 +18,10 @@ export const route: Route = { }, radar: [ { - source: ['hk.news.yahoo.com/', 'tw.news.yahoo.com/'], + source: ['hk.news.yahoo.com/'], + }, + { + source: ['tw.news.yahoo.com/'], }, ], name: '新聞來源列表', diff --git a/lib/routes/yahoo/news/provider.ts b/lib/routes/yahoo/news/provider.ts index bec0e7e06..8b737387b 100644 --- a/lib/routes/yahoo/news/provider.ts +++ b/lib/routes/yahoo/news/provider.ts @@ -18,7 +18,10 @@ export const route: Route = { }, radar: [ { - source: ['hk.news.yahoo.com/', 'tw.news.yahoo.com/'], + source: ['hk.news.yahoo.com/'], + }, + { + source: ['tw.news.yahoo.com/'], }, ], name: '新聞來源', diff --git a/lib/routes/zjut/cs/index.ts b/lib/routes/zjut/cs/index.ts index 7ccdf383f..bc55eb701 100644 --- a/lib/routes/zjut/cs/index.ts +++ b/lib/routes/zjut/cs/index.ts @@ -27,7 +27,7 @@ export const route: Route = { handler, radar: [ { - source: ['cs.zjut.edu.cn/jsp/newsclass.jsp?wcId=:type'], + source: ['cs.zjut.edu.cn/jsp/newsclass.jsp'], target: '/cs/:type', }, ],