rsshub
Version:
Make RSS Great Again!
46 lines (44 loc) • 1.21 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 "./timezone-D8cuwzTY.mjs";
import { t as getNoticeList } from "./utils-D2dw8Ky7.mjs";
//#region lib/routes/njxzc/home.ts
const url = "https://www.njxzc.edu.cn/89/list.htm";
const host = "https://www.njxzc.edu.cn";
const route = {
path: "/tzgg",
categories: ["university"],
example: "/njxzc/tzgg",
parameters: {},
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: true,
supportBT: false,
supportPodcast: false,
supportScihub: false
},
radar: [{ source: ["www.njxzc.edu.cn/89/list.htm", "www.njxzc.edu.cn/"] }],
name: "官网通知公告",
maintainers: ["real-jiakai"],
handler,
url: "www.njxzc.edu.cn/89/list.htm"
};
async function handler(ctx) {
return {
title: "南京晓庄学院 -- 通知公告",
link: url,
item: await getNoticeList(ctx, url, host, "a", ".news_meta", {
title: ".arti_title",
content: ".wp_articlecontent",
date: ".arti_update"
}, ".news_list .news")
};
}
//#endregion
export { route };