rsshub
Version:
Make RSS Great Again!
38 lines (35 loc) • 1.27 kB
JavaScript
import "./esm-shims-CzJ_djXG.mjs";
import "./config-C37vj7VH.mjs";
import "./dist-BInvbO1W.mjs";
import "./logger-Czu8UMNd.mjs";
import "./ofetch-BIyrKU3Y.mjs";
import "./parse-date-BrP7mxXf.mjs";
import "./cache-Bo__VnGm.mjs";
import "./helpers-DxBp0Pty.mjs";
import "./got-KxxWdaxq.mjs";
import "./invalid-parameter-rr4AgGpp.mjs";
import { t as processFeed } from "./utils-BZEOIibI.mjs";
//#region lib/routes/theinitium/channel.ts
const handler = (ctx) => processFeed("channel", ctx);
const route = {
path: "/channel/:type?/:language?",
name: "专题・栏目",
maintainers: ["prnake", "mintyfrankie"],
parameters: {
type: "栏目,缺省为最新",
language: "语言,简体`zh-hans`,繁体`zh-hant`,缺省为简体"
},
radar: [{
source: ["theinitium.com/channel/:type"],
target: "/channel/:type"
}],
handler,
example: "/theinitium/channel/latest/zh-hans",
categories: ["new-media"],
description: `Type 栏目:
| 最新 | 深度 | What’s New | 广场 | 科技 | 风物 | 特约 | ... |
| ------ | ------- | ---------- | ----------------- | ---------- | ------- | -------- | --- |
| latest | feature | news-brief | notes-and-letters | technology | culture | pick_up | ... |`
};
//#endregion
export { route };