rsshub
Version:
Make RSS Great Again!
69 lines (67 loc) • 1.36 kB
JavaScript
import "./esm-shims-CzJ_djXG.mjs";
import "./config-C37vj7VH.mjs";
import { t as ViewType } from "./types-D84BRIt4.mjs";
import "./dist-BInvbO1W.mjs";
import "./logger-Czu8UMNd.mjs";
import "./ofetch-BIyrKU3Y.mjs";
import "./helpers-DxBp0Pty.mjs";
import "./got-KxxWdaxq.mjs";
import { t as ProcessFeed } from "./utils-QlN6CWdV.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 };