rsshub
Version:
Make RSS Great Again!
58 lines (56 loc) • 1.58 kB
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 "./got-KxxWdaxq.mjs";
import "./timezone-D8cuwzTY.mjs";
import { t as common_default } from "./common-B4uf7rDV.mjs";
//#region lib/routes/hunau/xky/index.ts
const route = {
path: "/xky/:category?/:page?",
categories: ["university"],
example: "/hunau/xky",
parameters: {
category: "页面分类,默认为 `tzgg_8472`",
page: "页码,默认为 `1`"
},
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: false,
supportBT: false,
supportPodcast: false,
supportScihub: false
},
radar: [{
source: [
"xky.hunau.edu.cn/",
"xky.hunau.edu.cn/tzgg_8472",
"xky.hunau.edu.cn/:category"
],
target: "/:category"
}],
name: "信息与智能科学学院",
maintainers: [],
handler,
url: "xky.hunau.edu.cn/",
description: `| 分类 | 通知公告 | 学院新闻 | 其他分类通知... |
| ---- | ---------- | -------- | --------------- |
| 参数 | tzgg\_8472 | xyxw | 对应 URL |`
};
async function handler(ctx) {
await common_default(ctx, {
baseHost: "https://xky.hunau.edu.cn",
baseCategory: "tzgg_8472",
baseTitle: "信息与智能科学技术学院",
baseDescription: "湖南农业大学信息与智能科学技术学院",
baseDeparment: "xky",
baseClass: "div.right_list ul li:has(a)"
});
}
//#endregion
export { route };