rsshub
Version:
Make RSS Great Again!
33 lines (31 loc) • 974 B
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/tags.ts
const handler = (ctx) => processFeed("tags", ctx);
const route = {
path: "/tags/:type/:language?",
name: "话题・标签",
maintainers: ["AgFlore"],
parameters: {
type: "话题 ID,可从话题页 URL 中获取,如 `https://theinitium.com/tags/2019_10/`",
language: "语言,简体`zh-hans`,繁体`zh-hant`,缺省为简体"
},
radar: [{
source: ["theinitium.com/tags/:type"],
target: "/tags/:type"
}],
handler,
example: "/theinitium/tags/2019_10/zh-hans",
categories: ["new-media"]
};
//#endregion
export { route };