rsshub
Version:
Make RSS Great Again!
37 lines (34 loc) • 1.23 kB
JavaScript
import "./dist-Bog6z_OM.mjs";
import "./config-MQ-7ebJ_.mjs";
import "./logger-C4avouvV.mjs";
import "./ofetch-DKl_Ma9g.mjs";
import "./parse-date-r5WDWHno.mjs";
import "./is-worker-DESPicPc.mjs";
import "./cache-SV6W5EPy.mjs";
import "./helpers-Bo4JQYdN.mjs";
import "./got-CO-ndVl2.mjs";
import { t as processFeed } from "./utils-DN_pBJJD.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 };