UNPKG

rsshub

Version:
35 lines (34 loc) 999 B
import { a as processFeed } from "./utils-DeEIopw3.mjs"; //#region lib/routes/theinitium/tags.ts const handler = (ctx) => processFeed("tags", ctx); const route = { path: "/tags/:type/:language?", name: "话题・标签", url: "theinitium.com", maintainers: ["AgFlore", "pseudoyu"], parameters: { type: "标签 slug,可从标签页 URL 中获取,如 `https://theinitium.com/tag/south-korea/` 则为 `south-korea`", language: "语言,简体`zh-hans`,繁体`zh-hant`,缺省为不限" }, features: { requireConfig: [{ name: "INITIUM_MEMBER_COOKIE", optional: true, description: "端传媒会员登录后的 Cookie,用于获取付费文章全文。" }], requirePuppeteer: false, antiCrawler: false, supportBT: false, supportPodcast: false, supportScihub: false }, radar: [{ source: ["theinitium.com/tag/:type"], target: "/tags/:type" }], handler, example: "/theinitium/tags/south-korea", categories: ["new-media"] }; //#endregion export { route };