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