Skip to content

Commit 38aa049

Browse files
chore: auto build DIYgod/RSSHub@b84bb92
1 parent 142c74e commit 38aa049

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2658
-2634
lines changed

.vitepress/theme/types.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ export type DataItem = {
3737
category?: string[];
3838
author?:
3939
| string
40-
| {
40+
| Array<{
4141
name: string;
4242
url?: string;
4343
avatar?: string;
44-
}[];
44+
}>;
4545
doi?: string;
4646
guid?: string;
4747
id?: string;
@@ -60,20 +60,20 @@ export type DataItem = {
6060
itunes_duration?: number | string;
6161
itunes_item_image?: string;
6262
media?: Record<string, Record<string, string>>;
63-
attachments?: {
63+
attachments?: Array<{
6464
url: string;
6565
mime_type: string;
6666
title?: string;
6767
size_in_bytes?: number;
6868
duration_in_seconds?: number;
69-
}[];
69+
}>;
7070

7171
_extra?: Record<string, any> & {
72-
links?: {
72+
links?: Array<{
7373
url: string;
7474
type: string;
7575
content_html?: string;
76-
}[];
76+
}>;
7777
};
7878
};
7979

@@ -297,10 +297,10 @@ interface RouteItem {
297297
| {
298298
description: string;
299299
default?: string;
300-
options?: {
300+
options?: Array<{
301301
value: string;
302302
label: string;
303-
}[];
303+
}>;
304304
}
305305
>;
306306

@@ -320,14 +320,14 @@ interface RouteItem {
320320
features?: {
321321
/** The extra configuration items required by the route */
322322
requireConfig?:
323-
| {
323+
| Array<{
324324
/** The environment variable name */
325325
name: string;
326326
/** Whether the environment variable is optional */
327327
optional?: boolean;
328328
/** The description of the environment variable */
329329
description: string;
330-
}[]
330+
}>
331331
| false;
332332

333333
/** set to `true` if the feed uses puppeteer */
@@ -449,10 +449,10 @@ export interface APIRoute {
449449
{
450450
description: string;
451451
default?: string;
452-
options?: {
452+
options?: Array<{
453453
value: string;
454454
label: string;
455-
}[];
455+
}>;
456456
}
457457
>;
458458

src/routes/anime.md

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.

src/routes/bbs.md

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

src/routes/blog.md

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.

src/routes/design.md

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

src/routes/finance.md

Lines changed: 94 additions & 94 deletions
Large diffs are not rendered by default.

src/routes/forecast.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### 天气预报频道 <Site url="weather.cma.cn" size="sm" />
66

7-
<Route namespace="cma" :data='{"path":"/channel/:id?","categories":["forecast"],"example":"/cma/channel/380","parameters":{"id":"分类,见下表,可在对应频道页 URL 中找到,默认为 380,即每日天气提示"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodcast":false,"supportScihub":false},"name":"天气预报频道","maintainers":["nczitzk"],"description":"#### 天气实况\n\n| 频道名称 | 频道 id |\n| -------- | -------------------------------- |\n| 卫星云图 | d3236549863e453aab0ccc4027105bad |\n| 单站雷达 | 103 |\n| 降水量 | 18 |\n| 气温 | 32 |\n| 土壤水分 | 45 |\n\n#### 气象公报\n\n| 频道名称 | 频道 id |\n| -------------- | -------------------------------- |\n| 每日天气提示 | 380 |\n| 重要天气提示 | da5d55817ad5430fb9796a0780178533 |\n| 天气公报 | 3780 |\n| 强对流天气预报 | 383 |\n| 交通气象预报 | 423 |\n| 森林火险预报 | 424 |\n| 海洋天气公报 | 452 |\n| 环境气象公报 | 467 |\n\n::: tip\n 订阅更多细分频道,请前往对应上级频道页,使用下拉菜单选择项目后跳转到目标频道页,查看其 URL 找到对应频道 id\n:::","location":"channel.tsx","heat":328,"topFeeds":[{"id":"57657957614035968","type":"feed","url":"rsshub://cma/channel/380","title":"中国气象局·天气预报 - 气象公报 > 每日天气提示","description":"中国气象局·天气预报 - 气象公报 > 每日天气提示 - Powered by RSSHub","image":"https://weather.cma.cn/assets/cmalogo.png"},{"id":"62458101978222592","type":"feed","url":"rsshub://cma/channel/da5d55817ad5430fb9796a0780178533","title":"中国气象局·天气预报 - 气象公报 > 重要天气提示","description":"中国气象局提供权威的天气预报、气象预警、卫星云图、雷达图等专业服务产品 - Powered by RSSHub","image":"https://weather.cma.cn/assets/cmalogo.png"}]}' :test='{"code":0}' />
7+
<Route namespace="cma" :data='{"path":"/channel/:id?","categories":["forecast"],"example":"/cma/channel/380","parameters":{"id":"分类,见下表,可在对应频道页 URL 中找到,默认为 380,即每日天气提示"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodcast":false,"supportScihub":false},"name":"天气预报频道","maintainers":["nczitzk"],"description":"#### 天气实况\n\n| 频道名称 | 频道 id |\n| -------- | -------------------------------- |\n| 卫星云图 | d3236549863e453aab0ccc4027105bad |\n| 单站雷达 | 103 |\n| 降水量 | 18 |\n| 气温 | 32 |\n| 土壤水分 | 45 |\n\n#### 气象公报\n\n| 频道名称 | 频道 id |\n| -------------- | -------------------------------- |\n| 每日天气提示 | 380 |\n| 重要天气提示 | da5d55817ad5430fb9796a0780178533 |\n| 天气公报 | 3780 |\n| 强对流天气预报 | 383 |\n| 交通气象预报 | 423 |\n| 森林火险预报 | 424 |\n| 海洋天气公报 | 452 |\n| 环境气象公报 | 467 |\n\n::: tip\n 订阅更多细分频道,请前往对应上级频道页,使用下拉菜单选择项目后跳转到目标频道页,查看其 URL 找到对应频道 id\n:::","location":"channel.tsx","heat":329,"topFeeds":[{"id":"57657957614035968","type":"feed","url":"rsshub://cma/channel/380","title":"中国气象局·天气预报 - 气象公报 > 每日天气提示","description":"中国气象局·天气预报 - 气象公报 > 每日天气提示 - Powered by RSSHub","image":"https://weather.cma.cn/assets/cmalogo.png"},{"id":"62458101978222592","type":"feed","url":"rsshub://cma/channel/da5d55817ad5430fb9796a0780178533","title":"中国气象局·天气预报 - 气象公报 > 重要天气提示","description":"中国气象局提供权威的天气预报、气象预警、卫星云图、雷达图等专业服务产品 - Powered by RSSHub","image":"https://weather.cma.cn/assets/cmalogo.png"}]}' :test='{"code":0}' />
88

99
#### 天气实况
1010

@@ -215,7 +215,7 @@
215215

216216
### 空气质量 <Site url="air-level.com" size="sm" />
217217

218-
<Route namespace="air-level" :data='{"path":"/air/:area","radar":[{"source":["m.air-level.com/air/:area/"],"target":"/air/:area"}],"parameters":{"area":"地区"},"name":"空气质量","maintainers":["lifetraveler"],"example":"/air-level/air/xian","location":"index.ts","heat":26,"topFeeds":[{"id":"146122544518077440","type":"feed","url":"rsshub://air-level/air/suzhou","title":"苏州市空气质量指数","description":"订阅每个城市的天气质量 - Powered by RSSHub","image":null},{"id":"81563872281993216","type":"feed","url":"rsshub://air-level/air/shanghai","title":"上海市空气质量指数","description":"订阅每个城市的天气质量 - Powered by RSSHub","image":null}]}' :test='{"code":0}' />
218+
<Route namespace="air-level" :data='{"path":"/air/:area","radar":[{"source":["m.air-level.com/air/:area/"],"target":"/air/:area"}],"parameters":{"area":"地区"},"name":"空气质量","maintainers":["lifetraveler"],"example":"/air-level/air/xian","location":"index.ts","heat":26,"topFeeds":[{"id":"81563872281993216","type":"feed","url":"rsshub://air-level/air/shanghai","title":"上海市空气质量指数","description":"订阅每个城市的天气质量 - Powered by RSSHub","image":null},{"id":"146122544518077440","type":"feed","url":"rsshub://air-level/air/suzhou","title":"苏州市空气质量指数","description":"订阅每个城市的天气质量 - Powered by RSSHub","image":null}]}' :test='{"code":0}' />
219219

220220
### 空气质量排行 <Site url="air-level.com" size="sm" />
221221

@@ -227,13 +227,13 @@
227227

228228
### 全球地震資訊網 <Site url="www.hko.gov.hk" size="sm" />
229229

230-
<Route namespace="hko" :data='{"path":"/earthquake","name":"全球地震資訊網","maintainers":["after9"],"example":"/hko/earthquake","categories":["forecast"],"description":"来自香港天文台的全球5级以上地震记录","location":"earthquake.ts","heat":10,"topFeeds":[{"id":"69201588937562112","type":"feed","url":"rsshub://hko/earthquake","title":"来自香港天文台的全球5级以上地震记录","description":"提供經天文台分析的全球5.0級或以上及本地有感的地震資訊。 - Powered by RSSHub","image":null}]}' :test='{"code":1,"message":"AssertionError: expected [ &#39;[震級:5] [地點:青森, 日本]&#39;, …(11) ] to not include &#39;[震級:5] [地點:努庫阿洛法, 湯加群島]&#39;\n at Proxy.<anonymous> (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+expect@4.0.9/node_modules/@vitest/expect/dist/index.js:1252:15)\n at Proxy.<anonymous> (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+expect@4.0.9/node_modules/@vitest/expect/dist/index.js:1090:14)\n at Proxy.methodWrapper (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/chai@6.2.1/node_modules/chai/index.js:1700:25)\n at checkRSS (/home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:67:27)\n at processTicksAndRejections (node:internal/process/task_queues:103:5)\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:82:17\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+runner@4.0.9/node_modules/@vitest/runner/dist/index.js:753:20"}' />
230+
<Route namespace="hko" :data='{"path":"/earthquake","name":"全球地震資訊網","maintainers":["after9"],"example":"/hko/earthquake","categories":["forecast"],"description":"来自香港天文台的全球5级以上地震记录","location":"earthquake.ts","heat":10,"topFeeds":[{"id":"69201588937562112","type":"feed","url":"rsshub://hko/earthquake","title":"来自香港天文台的全球5级以上地震记录","description":"提供經天文台分析的全球5.0級或以上及本地有感的地震資訊。 - Powered by RSSHub","image":null}]}' :test='{"code":1,"message":"AssertionError: expected [ &#39;[震級:5.1] [地點:青森, 日本]&#39;, …(14) ] to not include &#39;[震級:5] [地點:努庫阿洛法, 湯加群島]&#39;\n at Proxy.<anonymous> (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+expect@4.0.9/node_modules/@vitest/expect/dist/index.js:1252:15)\n at Proxy.<anonymous> (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+expect@4.0.9/node_modules/@vitest/expect/dist/index.js:1090:14)\n at Proxy.methodWrapper (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/chai@6.2.1/node_modules/chai/index.js:1700:25)\n at checkRSS (/home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:67:27)\n at processTicksAndRejections (node:internal/process/task_queues:103:5)\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:82:17\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+runner@4.0.9/node_modules/@vitest/runner/dist/index.js:753:20"}' />
231231

232232
来自香港天文台的全球5级以上地震记录
233233

234234
### Current Weather Report <Site url="www.weather.gov.hk/en/wxinfo/currwx/current.htm" size="sm" />
235235

236-
<Route namespace="hko" :data='{"path":"/weather","radar":[{"source":["www.weather.gov.hk/en/wxinfo/currwx/current.htm"]}],"name":"Current Weather Report","example":"/hko/weather","maintainers":["calpa"],"categories":["forecast"],"url":"www.weather.gov.hk/en/wxinfo/currwx/current.htm","location":"weather.ts","heat":5,"topFeeds":[{"id":"69176555091531776","type":"feed","url":"rsshub://hko/weather","title":"Current Weather Report","description":"provided by the Hong Kong Observatory: Tue, 30 Dec 2025 10:02:00 GMT - Powered by RSSHub","image":null}]}' :test='{"code":0}' />
236+
<Route namespace="hko" :data='{"path":"/weather","radar":[{"source":["www.weather.gov.hk/en/wxinfo/currwx/current.htm"]}],"name":"Current Weather Report","example":"/hko/weather","maintainers":["calpa"],"categories":["forecast"],"url":"www.weather.gov.hk/en/wxinfo/currwx/current.htm","location":"weather.ts","heat":5,"topFeeds":[{"id":"69176555091531776","type":"feed","url":"rsshub://hko/weather","title":"Current Weather Report","description":"provided by the Hong Kong Observatory: Thu, 01 Jan 2026 13:02:00 GMT - Powered by RSSHub","image":null}]}' :test='{"code":0}' />
237237

238238
## 深圳市罗湖区人民政府 <Site url="www.szlh.gov.cn"/>
239239

@@ -303,7 +303,7 @@
303303

304304
### 长沙市 <Site url="swj.dl.gov.cn" size="sm" />
305305

306-
<Route namespace="tingshuitz" :data='{"path":"/changsha/:channelId?","categories":["forecast"],"example":"/tingshuitz/changsha/78","parameters":{"channelId":"N"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodcast":false,"supportScihub":false},"name":"长沙市","maintainers":["shansing"],"description":"可能仅限于中国大陆服务器访问,以实际情况为准。\n\n| channelId | 分类 |\n| --------- | -------- |\n| 78 | 计划停水 |\n| 157 | 抢修停水 |","location":"changsha.ts","heat":0,"topFeeds":[]}' :test='{"code":1,"message":"AssertionError: expected 503 to be 200 // Object.is equality\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:81:41\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+runner@4.0.9/node_modules/@vitest/runner/dist/index.js:753:20"}' />
306+
<Route namespace="tingshuitz" :data='{"path":"/changsha/:channelId?","categories":["forecast"],"example":"/tingshuitz/changsha/78","parameters":{"channelId":"N"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodcast":false,"supportScihub":false},"name":"长沙市","maintainers":["shansing"],"description":"可能仅限于中国大陆服务器访问,以实际情况为准。\n\n| channelId | 分类 |\n| --------- | -------- |\n| 78 | 计划停水 |\n| 157 | 抢修停水 |","location":"changsha.ts","heat":0,"topFeeds":[]}' :test='{"code":1,"message":"AssertionError: expected 503 to be 200 // Object.is equality\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:81:41\n at processTicksAndRejections (node:internal/process/task_queues:103:5)\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+runner@4.0.9/node_modules/@vitest/runner/dist/index.js:753:20"}' />
307307

308308
可能仅限于中国大陆服务器访问,以实际情况为准。
309309

0 commit comments

Comments
 (0)