UNPKG

rsshub

Version:
68 lines (66 loc) 1.32 kB
import "./dist-Bog6z_OM.mjs"; import "./config-MQ-7ebJ_.mjs"; import { t as ViewType } from "./types-gOySfSXJ.mjs"; import "./logger-C4avouvV.mjs"; import "./ofetch-DKl_Ma9g.mjs"; import "./helpers-Bo4JQYdN.mjs"; import "./got-CO-ndVl2.mjs"; import { t as ProcessFeed } from "./utils-nZhmEodv.mjs"; //#region lib/routes/hpoi/all.ts const route = { path: "/items/all/:order?", categories: ["anime"], view: ViewType.Pictures, example: "/hpoi/items/all", parameters: { order: { description: "排序", options: [ { value: "release", label: "发售" }, { value: "add", label: "入库" }, { value: "hits", label: "总热度" }, { value: "hits7Day", label: "一周热度" }, { value: "hitsDay", label: "一天热度" }, { value: "rating", label: "评价" } ], default: "add" } }, features: { requireConfig: false, requirePuppeteer: false, antiCrawler: false, supportBT: false, supportPodcast: false, supportScihub: false }, radar: [{ source: ["www.hpoi.net/hobby/all"], target: "/items/all" }], name: "所有周边", maintainers: ["DIYgod"], handler, url: "www.hpoi.net/hobby/all" }; async function handler(ctx) { return await ProcessFeed("all", 0, ctx.req.param("order")); } //#endregion export { route };