rsshub
Version:
Make RSS Great Again!
39 lines (38 loc) • 1.14 kB
JavaScript
import { t as rofetch } from "./ofetch-C3ts-Hud.mjs";
import { r as resolveArticles, t as parseNoticeList } from "./utils-DTuC0n85.mjs";
import { load } from "cheerio";
//#region lib/routes/gxmzu/yjs.ts
const pageUrl = "https://yjs.gxmzu.edu.cn/tzgg/zsgg.htm";
const route = {
path: "/yjszsgg",
categories: ["university"],
example: "/gxmzu/yjszsgg",
parameters: {},
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: false,
supportBT: false,
supportPodcast: false,
supportScihub: false
},
radar: [{ source: ["yjs.gxmzu.edu.cn/tzgg/zsgg.htm", "yjs.gxmzu.edu.cn/"] }],
name: "研究生院招生公告",
maintainers: ["real-jiakai"],
handler,
url: "yjs.gxmzu.edu.cn/tzgg/zsgg.htm"
};
async function handler() {
const items = await resolveArticles(parseNoticeList(load(await rofetch(pageUrl)), pageUrl, "table.winstyle55267 tr[height=\"20\"]", ".timestyle55267"), pageUrl, {
title: ".titlestyle55269",
content: "#vsb_newscontent",
date: ".timestyle55269"
});
return {
title: "广西民族大学研究生院 -- 招生公告",
link: pageUrl,
item: items
};
}
//#endregion
export { route };