rsshub
Version:
Make RSS Great Again!
32 lines (30 loc) • 931 B
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/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 };