Skip to content

Commit

Permalink
chore: auto build DIYgod/RSSHub@5d9e0f5
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 21, 2025
1 parent 3df448e commit 18e088f
Show file tree
Hide file tree
Showing 43 changed files with 892 additions and 885 deletions.
9 changes: 8 additions & 1 deletion .vitepress/theme/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ export type DataItem = {
itunes_duration?: number | string;
itunes_item_image?: string;
media?: Record<string, Record<string, string>>;
attachments?: {
url: string;
mime_type: string;
title?: string;
size_in_bytes?: number;
duration_in_seconds?: number;
}[];

_extra?: Record<string, any> & {
links?: {
Expand Down Expand Up @@ -273,7 +280,7 @@ interface RouteItem {
/**
* The handler function of the route
*/
handler: (ctx: Context) => Promise<Data> | Data;
handler: (ctx: Context) => Promise<Data | null> | Data | null;

/**
* An example URL of the route
Expand Down
12 changes: 6 additions & 6 deletions src/routes/anime.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/routes/bbs.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/routes/blog.md

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions src/routes/finance.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/routes/forecast.md

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions src/routes/game.md

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions src/routes/government.md

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/routes/journal.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/routes/live.md

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions src/routes/multimedia.md

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions src/routes/new-media.md

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions src/routes/other.md

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions src/routes/popular.md

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/routes/program-update.md

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions src/routes/programming.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/routes/reading.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ When multiple works have the same points, their order may differ from syosetu's

### Series <Site url="yenpress.com" size="sm" />

<Route namespace="yenpress" :data='{"path":"/series/:name","example":"/yenpress/series/alya-sometimes-hides-her-feelings-in-russian","parameters":{"name":"Series name"},"name":"Series","maintainers":["TonyRL"],"radar":[{"source":["yenpress.com/series/:name"],"target":"/series/:name"}],"location":"series.ts"}' :test='{"code":1,"message":"AssertionError: expected -13472491180 to be greater than -432000000\n at checkDate (/home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:35:46)\n at checkRSS (/home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:61:13)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:80:17\n at runTest (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:960:11)\n at async Promise.all (index 2111)\n at runSuite (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1102:13)\n at runSuite (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1116:15)\n at runFiles (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1173:5)\n at startTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1182:3)\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:130:11\n at withEnv (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:94:5)\n at run (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:116:3)\n at runBaseTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/base.CC5R_kgU.js:31:3)\n at ForksBaseWorker.executeTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/workers/forks.js:25:7)\n at execute (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/worker.js:115:5)"}' />
<Route namespace="yenpress" :data='{"path":"/series/:name","example":"/yenpress/series/alya-sometimes-hides-her-feelings-in-russian","parameters":{"name":"Series name"},"name":"Series","maintainers":["TonyRL"],"radar":[{"source":["yenpress.com/series/:name"],"target":"/series/:name"}],"location":"series.ts"}' :test='{"code":1,"message":"AssertionError: expected -13299799934 to be greater than -432000000\n at checkDate (/home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:35:46)\n at checkRSS (/home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:61:13)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:80:17\n at runTest (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:960:11)\n at async Promise.all (index 2111)\n at runSuite (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1102:13)\n at runSuite (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1116:15)\n at runFiles (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1173:5)\n at startTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1182:3)\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:130:11\n at withEnv (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:94:5)\n at run (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:116:3)\n at runBaseTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/base.CC5R_kgU.js:31:3)\n at ForksBaseWorker.executeTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/workers/forks.js:25:7)\n at execute (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/worker.js:115:5)"}' />

## 爱思想 <Site url="aisixiang.com"/>

Expand All @@ -234,7 +234,7 @@ When multiple works have the same points, their order may differ from syosetu's

### 栏目 <Site url="aisixiang.com" size="sm" />

<Route namespace="aisixiang" :data='{"path":"/column/:id","categories":["reading"],"example":"/aisixiang/column/722","parameters":{"id":"栏目 ID, 可在对应栏目 URL 中找到"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodcast":false,"supportScihub":false},"name":"栏目","maintainers":["HenryQW","nczitzk"],"location":"column.ts"}' :test='{"code":1,"message":"AssertionError: expected 503 to be 200 // Object.is equality\n at /home/runner/work/RSSHub/RSSHub/lib/routes.test.ts:79:41\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runTest (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:960:11)\n at async Promise.all (index 38)\n at runSuite (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1102:13)\n at runSuite (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1116:15)\n at runFiles (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1173:5)\n at startTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@[email protected]/node_modules/@vitest/runner/dist/index.js:1182:3)\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:130:11\n at withEnv (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:94:5)\n at run (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/runBaseTests.CyvqmuC9.js:116:3)\n at runBaseTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/chunks/base.CC5R_kgU.js:31:3)\n at ForksBaseWorker.executeTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/workers/forks.js:25:7)\n at execute (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/vitest/dist/worker.js:115:5)\n at onMessage (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20)"}' />
<Route namespace="aisixiang" :data='{"path":"/column/:id","categories":["reading"],"example":"/aisixiang/column/722","parameters":{"id":"栏目 ID, 可在对应栏目 URL 中找到"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodcast":false,"supportScihub":false},"name":"栏目","maintainers":["HenryQW","nczitzk"],"location":"column.ts"}' :test='{"code":0}' />

### 思想库(专栏) <Site url="aisixiang.com" size="sm" />

Expand Down
Loading

0 comments on commit 18e088f

Please sign in to comment.