rsshub
Version:
Make RSS Great Again!
30 lines (28 loc) • 836 B
JavaScript
import "./esm-shims-CzJ_djXG.mjs";
import "./config-C37vj7VH.mjs";
import "./dist-BInvbO1W.mjs";
import "./logger-Czu8UMNd.mjs";
import "./ofetch-BIyrKU3Y.mjs";
import "./parse-date-BrP7mxXf.mjs";
import "./cache-Bo__VnGm.mjs";
import "./helpers-DxBp0Pty.mjs";
import "./render-BQo6B4tL.mjs";
import "./got-KxxWdaxq.mjs";
import "./invalid-parameter-rr4AgGpp.mjs";
import { t as handler } from "./common-DlF6IVI5.mjs";
//#region lib/routes/wnacg/category.ts
const route = {
name: "分类更新",
maintainers: ["Gandum2077"],
path: "/category/:cid",
example: "/wnacg/category/6",
radar: [{
source: ["wnacg.com/*"],
target: (_, url) => `/wnacg/category/${new URL(url).pathname.match(/albums-index-cate-(\d+)\.html$/)[1]}`
}],
handler,
url: "wnacg.com/albums.html",
features: { nsfw: true }
};
//#endregion
export { route };