rsshub
Version:
Make RSS Great Again!
40 lines (38 loc) • 1.15 kB
JavaScript
import "./dist-Bog6z_OM.mjs";
import "./config-MQ-7ebJ_.mjs";
import "./logger-C4avouvV.mjs";
import "./ofetch-DKl_Ma9g.mjs";
import "./is-worker-DESPicPc.mjs";
import "./cache-SV6W5EPy.mjs";
import "./helpers-Bo4JQYdN.mjs";
import "./got-CO-ndVl2.mjs";
import { n as rootUrl, t as ProcessItems } from "./utils-CwlFzoKO.mjs";
//#region lib/routes/95mm/tab.ts
const route = {
path: "/tab/:tab?",
categories: ["picture"],
example: "/95mm/tab/热门",
parameters: { tab: "分类,见下表,默认为最新" },
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: false,
supportBT: false,
supportPodcast: false,
supportScihub: false,
nsfw: true
},
radar: [{ source: ["95mm.org/"] }],
name: "分类",
maintainers: ["nczitzk"],
handler,
url: "95mm.org/",
description: `| 最新 | 热门 | 校花 | 森系 | 清纯 | 童颜 | 嫩模 | 少女 |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |`
};
async function handler(ctx) {
const tab = ctx.req.param("tab") ?? "最新";
return await ProcessItems(ctx, tab, `${rootUrl}/home-ajax/index.html?tabcid=${tab}&page=1`);
}
//#endregion
export { route };