UNPKG

rsshub

Version:
22 lines (21 loc) 682 B
import { t as utils_default } from "./utils-V-tRychu.mjs"; //#region lib/routes/dongqiudi/team-news.ts const route = { path: "/team_news/:team", categories: ["sport"], example: "/dongqiudi/team_news/50001755", parameters: { team: "球队 id, 可在[懂球帝数据](https://www.dongqiudi.com/data)中找到" }, radar: [{ source: ["www.dongqiudi.com/team/*team"], target: (params) => `/dongqiudi/team_news/${params.team.replace(".html", "")}` }], name: "球队新闻", maintainers: ["HenryQW"], handler }; async function handler(ctx) { const teamId = ctx.req.param("team"); return await utils_default.ProcessFeed(ctx, "team", teamId); } //#endregion export { route };