UNPKG

rsshub

Version:
32 lines (30 loc) 946 B
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/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 };