feat(radar): add rules
This commit is contained in:
+184
-5
@@ -49,6 +49,24 @@
|
||||
script: "({uid: document.querySelector('head').innerHTML.match(/\\$CONFIG\\['oid']='(\\d+)'/)[1]})",
|
||||
verification: (params) => params.uid,
|
||||
},
|
||||
{
|
||||
title: '关键词',
|
||||
docs: 'https://docs.rsshub.app/social-media.html#wei-bo',
|
||||
},
|
||||
{
|
||||
title: '超话',
|
||||
docs: 'https://docs.rsshub.app/social-media.html#wei-bo',
|
||||
source: '/p/:id/super_index',
|
||||
target: '/weibo/super_index/:id',
|
||||
},
|
||||
],
|
||||
s: [
|
||||
{
|
||||
title: '热搜榜',
|
||||
docs: 'https://docs.rsshub.app/social-media.html#wei-bo',
|
||||
source: '/top/summary',
|
||||
target: '/weibo/search/hot',
|
||||
},
|
||||
],
|
||||
},
|
||||
'pixiv.net': {
|
||||
@@ -300,17 +318,20 @@
|
||||
'smzdm.com': {
|
||||
_name: '什么值得买',
|
||||
www: [
|
||||
{
|
||||
title: '关键词',
|
||||
docs: 'https://docs.rsshub.app/shopping.html#shen-me-zhi-de-mai',
|
||||
target: '/smzdm/keyword/:keyword',
|
||||
},
|
||||
{
|
||||
title: '排行榜',
|
||||
docs: 'https://docs.rsshub.app/shopping.html#shen-me-zhi-de-mai',
|
||||
source: '/top',
|
||||
},
|
||||
],
|
||||
search: [
|
||||
{
|
||||
title: '关键词',
|
||||
docs: 'https://docs.rsshub.app/shopping.html#shen-me-zhi-de-mai',
|
||||
source: '/',
|
||||
target: (params, url) => `/smzdm/keyword/${new URL(url).searchParams.get('s')}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
'rsshub.app': {
|
||||
_name: 'RSSHub',
|
||||
@@ -568,4 +589,162 @@
|
||||
},
|
||||
],
|
||||
},
|
||||
'nga.cn': {
|
||||
_name: 'NGA',
|
||||
bbs: [
|
||||
{
|
||||
title: '分区帖子',
|
||||
docs: 'https://docs.rsshub.app/bbs.html#nga',
|
||||
source: '/thread.php',
|
||||
target: (params, url) => new URL(url).searchParams.get('fid') && `/nga/forum/${new URL(url).searchParams.get('fid')}`,
|
||||
},
|
||||
{
|
||||
title: '帖子',
|
||||
docs: 'https://docs.rsshub.app/bbs.html#nga',
|
||||
source: '/read.php',
|
||||
target: (params, url) => new URL(url).searchParams.get('tid') && `/nga/post/${new URL(url).searchParams.get('tid')}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
'playstation.com': {
|
||||
_name: 'PlayStation',
|
||||
store: [
|
||||
{
|
||||
title: '游戏列表',
|
||||
docs: 'https://docs.rsshub.app/game.html#playstation',
|
||||
source: '/zh-hans-hk/grid/:id/:page',
|
||||
target: '/ps/list/:id',
|
||||
},
|
||||
],
|
||||
www: [
|
||||
{
|
||||
title: '用户奖杯',
|
||||
docs: 'https://docs.rsshub.app/game.html#playstation',
|
||||
},
|
||||
{
|
||||
title: '系统更新纪录',
|
||||
docs: 'https://docs.rsshub.app/game.html#playstation',
|
||||
},
|
||||
],
|
||||
},
|
||||
'monsterhunter.com': {
|
||||
_name: '怪物猎人世界',
|
||||
www: [
|
||||
{
|
||||
title: '更新情报',
|
||||
docs: 'https://docs.rsshub.app/game.html#guai-wu-lie-ren-shi-jie',
|
||||
source: ['', '/*tpath'],
|
||||
target: '/mhw/update',
|
||||
},
|
||||
{
|
||||
title: '最新消息',
|
||||
docs: 'https://docs.rsshub.app/game.html#guai-wu-lie-ren-shi-jie',
|
||||
source: ['', '/*tpath'],
|
||||
target: '/mhw/news',
|
||||
},
|
||||
],
|
||||
},
|
||||
'vgtime.com': {
|
||||
_name: '游戏时光',
|
||||
www: [
|
||||
{
|
||||
title: '新闻',
|
||||
docs: 'https://docs.rsshub.app/game.html#you-xi-shi-guang',
|
||||
source: '/topic/index.jhtml',
|
||||
target: '/vgtime/news',
|
||||
},
|
||||
{
|
||||
title: '游戏发售表',
|
||||
docs: 'https://docs.rsshub.app/game.html#you-xi-shi-guang',
|
||||
source: '/game/release.jhtml',
|
||||
target: '/vgtime/release',
|
||||
},
|
||||
{
|
||||
title: '关键词资讯',
|
||||
docs: 'https://docs.rsshub.app/game.html#you-xi-shi-guang',
|
||||
source: '/search/list.jhtml',
|
||||
target: (params, url) => `/vgtime/keyword/${new URL(url).searchParams.get('keyword')}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
'bing.com': {
|
||||
_name: 'Bing',
|
||||
www: [
|
||||
{
|
||||
title: '每日壁纸',
|
||||
docs: 'https://docs.rsshub.app/picture.html#bing-bi-zhi',
|
||||
source: '',
|
||||
target: '/bing',
|
||||
},
|
||||
],
|
||||
},
|
||||
'dcard.tw': {
|
||||
_name: 'Dcard',
|
||||
www: [
|
||||
{
|
||||
title: '首頁帖子-最新',
|
||||
docs: 'https://docs.rsshub.app/bbs.html#dcard',
|
||||
source: '/f',
|
||||
target: '/dcard/posts/latest',
|
||||
},
|
||||
{
|
||||
title: '首頁帖子-熱門',
|
||||
docs: 'https://docs.rsshub.app/bbs.html#dcard',
|
||||
source: '/f',
|
||||
target: '/dcard/posts/popular',
|
||||
},
|
||||
{
|
||||
title: '板塊帖子-最新',
|
||||
docs: 'https://docs.rsshub.app/bbs.html#dcard',
|
||||
source: '/f/:section',
|
||||
target: '/dcard/:section/latest',
|
||||
},
|
||||
{
|
||||
title: '板塊帖子-熱門',
|
||||
docs: 'https://docs.rsshub.app/bbs.html#dcard',
|
||||
source: '/f/:section',
|
||||
target: '/dcard/:section/popular',
|
||||
},
|
||||
],
|
||||
},
|
||||
'wegene.com': {
|
||||
_name: 'WeGene',
|
||||
www: [
|
||||
{
|
||||
title: '最近更新',
|
||||
docs: 'https://docs.rsshub.app/other.html#wegene',
|
||||
source: '',
|
||||
target: '/wegene/newest',
|
||||
},
|
||||
{
|
||||
title: '栏目',
|
||||
docs: 'https://docs.rsshub.app/other.html#wegene',
|
||||
source: '/crowdsourcing',
|
||||
target: '/wegene/column/all/all',
|
||||
},
|
||||
],
|
||||
},
|
||||
'qdaily.com': {
|
||||
_name: '好奇心日报',
|
||||
www: [
|
||||
{
|
||||
title: '标签',
|
||||
docs: 'https://docs.rsshub.app/new-media.html#hao-qi-xin-ri-bao',
|
||||
source: '/tags/:idd',
|
||||
target: (params) => `/qdaily/tag/${params.idd.replace('.html', '')}`,
|
||||
},
|
||||
{
|
||||
title: '栏目',
|
||||
docs: 'https://docs.rsshub.app/new-media.html#hao-qi-xin-ri-bao',
|
||||
source: '/special_columns/:idd',
|
||||
target: (params) => `/qdaily/column/${params.idd.replace('.html', '')}`,
|
||||
},
|
||||
{
|
||||
title: '分类',
|
||||
docs: 'https://docs.rsshub.app/new-media.html#hao-qi-xin-ri-bao',
|
||||
source: '/categories/:idd',
|
||||
target: (params) => `/qdaily/researcach/${params.idd.replace('.html', '')}`,
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
+4
-4
@@ -8,11 +8,11 @@ pageClass: routes
|
||||
|
||||
### 首頁帖子
|
||||
|
||||
<Route author="DIYgod" example="/dcard/posts/popular" path="/dcard/posts/:type?" :paramsDesc="['排序,popular 熱門;latest 最新,默認為 latest']"/>
|
||||
<Route author="DIYgod" example="/dcard/posts/popular" path="/dcard/posts/:type?" :paramsDesc="['排序,popular 熱門;latest 最新,默認為 latest']" radar="1"/>
|
||||
|
||||
### 板塊帖子
|
||||
|
||||
<Route author="HenryQW" example="/dcard/funny/popular" path="/dcard/:section/:type?" :paramsDesc="['板塊名稱,URL 中獲得', '排序,popular 熱門;latest 最新,默認為 latest']"/>
|
||||
<Route author="HenryQW" example="/dcard/funny/popular" path="/dcard/:section/:type?" :paramsDesc="['板塊名稱,URL 中獲得', '排序,popular 熱門;latest 最新,默認為 latest']" radar="1"/>
|
||||
|
||||
## MCBBS
|
||||
|
||||
@@ -28,11 +28,11 @@ pageClass: routes
|
||||
|
||||
### 分区帖子
|
||||
|
||||
<Route author="xyqfer" example="/nga/forum/485" path="/nga/forum/:fid" :paramsDesc="['分区 id, 可在分区主页 URL 找到']"/>
|
||||
<Route author="xyqfer" example="/nga/forum/489" path="/nga/forum/:fid" :paramsDesc="['分区 id, 可在分区主页 URL 找到']" radar="1"/>
|
||||
|
||||
### 帖子
|
||||
|
||||
<Route author="xyqfer" example="/nga/post/15939161" path="/nga/post/:tid" :paramsDesc="['帖子 id, 可在帖子 URL 找到']"/>
|
||||
<Route author="xyqfer" example="/nga/post/18449558" path="/nga/post/:tid" :paramsDesc="['帖子 id, 可在帖子 URL 找到']" radar="1"/>
|
||||
|
||||
## Saraba1st
|
||||
|
||||
|
||||
+8
-8
@@ -104,7 +104,7 @@ pageClass: routes
|
||||
|
||||
### PlayStation Store 游戏列表
|
||||
|
||||
<Route author="DIYgod" example="/ps/list/STORE-MSF86012-PLUS_FTT_CONTENT" path="/ps/list/:gridName" :paramsDesc="['列表的 grid 名']">
|
||||
<Route author="DIYgod" example="/ps/list/STORE-MSF86012-PLUS_FTT_CONTENT" path="/ps/list/:gridName" :paramsDesc="['列表的 grid 名']" radar="1">
|
||||
|
||||
适用于 URL 如 <https://store.playstation.com/zh-hans-hk/grid/STORE-MSF86012-PLUS_FTT_CONTENT> 的列表页,比如 [PSN 每月免费游戏](https://store.playstation.com/zh-hans-hk/grid/STORE-MSF86012-PLUS_FTT_CONTENT) 的 gridName 为 STORE-MSF86012-PLUS_FTT_CONTENT
|
||||
|
||||
@@ -112,11 +112,11 @@ pageClass: routes
|
||||
|
||||
### PlayStation Network 用户奖杯
|
||||
|
||||
<Route author="DIYgod" example="/ps/trophy/DIYgod_" path="/ps/trophy/:id" :paramsDesc="['用户 ID']"/>
|
||||
<Route author="DIYgod" example="/ps/trophy/DIYgod_" path="/ps/trophy/:id" :paramsDesc="['用户 ID']" radar="1"/>
|
||||
|
||||
### PlayStation 4 系统更新纪录
|
||||
|
||||
<Route author="Jeason0228" example="/ps/ps4updates/" path="/ps/ps4updates/" />
|
||||
<Route author="Jeason0228" example="/ps/ps4updates/" path="/ps/ps4updates/" radar="1"/>
|
||||
|
||||
## psnine
|
||||
|
||||
@@ -207,11 +207,11 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
|
||||
|
||||
### 更新情报
|
||||
|
||||
<Route author="DIYgod" example="/mhw/update" path="/mhw/update"/>
|
||||
<Route author="DIYgod" example="/mhw/update" path="/mhw/update" radar="1"/>
|
||||
|
||||
### 最新消息
|
||||
|
||||
<Route author="DIYgod" example="/mhw/news" path="/mhw/news"/>
|
||||
<Route author="DIYgod" example="/mhw/news" path="/mhw/news" radar="1"/>
|
||||
|
||||
## 旅法师营地
|
||||
|
||||
@@ -303,15 +303,15 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
|
||||
|
||||
### 游戏时光新闻
|
||||
|
||||
<Route author="MyFaith" example="/vgtime/news" path="/vgtime/news"/>
|
||||
<Route author="MyFaith" example="/vgtime/news" path="/vgtime/news" radar="1"/>
|
||||
|
||||
### 游戏时光游戏发售表
|
||||
|
||||
<Route author="MyFaith" example="/vgtime/release" path="/vgtime/release"/>
|
||||
<Route author="MyFaith" example="/vgtime/release" path="/vgtime/release" radar="1"/>
|
||||
|
||||
### 关键词资讯
|
||||
|
||||
<Route author="DIYgod" example="/vgtime/keyword/怪物猎人" path="/vgtime/keyword/:keyword"/>
|
||||
<Route author="DIYgod" example="/vgtime/keyword/怪物猎人" path="/vgtime/keyword/:keyword" radar="1"/>
|
||||
|
||||
## 游研社
|
||||
|
||||
|
||||
+1
-1
@@ -325,7 +325,7 @@ pageClass: routes
|
||||
|
||||
### 标签,栏目,分类
|
||||
|
||||
<Route author="WenhuWee emdoe SivaGao HenryQW" example="/qdaily/column/59" path="/qdaily/:type/:id" :paramsDesc="['类型,见下表', '对应 id,可在 URL 找到']">
|
||||
<Route author="WenhuWee emdoe SivaGao HenryQW" example="/qdaily/column/59" path="/qdaily/:type/:id" :paramsDesc="['类型,见下表', '对应 id,可在 URL 找到']" radar="1">
|
||||
|
||||
| 标签 | 栏目 | 分类 |
|
||||
| ---- | ------ | ---------- |
|
||||
|
||||
+2
-2
@@ -97,10 +97,10 @@ board 和 build 可在[这里](http://api.ineal.me/tss/status)查看
|
||||
|
||||
### 最近更新
|
||||
|
||||
<Route author="LogicJake" example="/wegene/newest" path="/wegene/newest"/>
|
||||
<Route author="LogicJake" example="/wegene/newest" path="/wegene/newest" radar="1"/>
|
||||
### 栏目
|
||||
|
||||
<Route author="LogicJake" example="/wegene/column/all/all" path="/wegene/column/:type/:category" :paramsDesc="['栏目类型,all(全部项目) 或 weapp(专业版)','栏目分类']">
|
||||
<Route author="LogicJake" example="/wegene/column/all/all" path="/wegene/column/:type/:category" :paramsDesc="['栏目类型,all(全部项目) 或 weapp(专业版)','栏目分类']" radar="1">
|
||||
|
||||
:::
|
||||
type 为 all 时,category 参数不支持 cost 和 free
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ pageClass: routes
|
||||
|
||||
### 每日壁纸
|
||||
|
||||
<Route author="FHYunCai" example="/bing" path="/bing"/>
|
||||
<Route author="FHYunCai" example="/bing" path="/bing" radar="1"/>
|
||||
|
||||
## CNU 视觉联盟
|
||||
|
||||
|
||||
@@ -566,15 +566,15 @@ pageClass: routes
|
||||
|
||||
### 关键词
|
||||
|
||||
<Route author="DIYgod" example="/weibo/keyword/DIYgod" path="/weibo/keyword/:keyword" :paramsDesc="['你想订阅的微博关键词']" anticrawler="1"/>
|
||||
<Route author="DIYgod" example="/weibo/keyword/DIYgod" path="/weibo/keyword/:keyword" :paramsDesc="['你想订阅的微博关键词']" anticrawler="1" radar="1"/>
|
||||
|
||||
### 热搜榜
|
||||
|
||||
<Route author="xyqfer" example="/weibo/search/hot" path="/weibo/search/hot" anticrawler="1"/>
|
||||
<Route author="xyqfer" example="/weibo/search/hot" path="/weibo/search/hot" anticrawler="1" radar="1"/>
|
||||
|
||||
### 超话
|
||||
|
||||
<Route author="zengxs" example="/weibo/super_index/1008084989d223732bf6f02f75ea30efad58a9" path="/weibo/super_index/:id" :paramsDesc="['超话ID']" anticrawler="1"/>
|
||||
<Route author="zengxs" example="/weibo/super_index/1008084989d223732bf6f02f75ea30efad58a9" path="/weibo/super_index/:id" :paramsDesc="['超话ID']" anticrawler="1" radar="1"/>
|
||||
|
||||
## 微博绿洲
|
||||
|
||||
|
||||
Reference in New Issue
Block a user