UNPKG

rsshub

Version:
33 lines (31 loc) 1.06 kB
import "./dist-Bog6z_OM.mjs"; import "./config-MQ-7ebJ_.mjs"; import "./logger-C4avouvV.mjs"; import "./ofetch-DKl_Ma9g.mjs"; import "./parse-date-r5WDWHno.mjs"; import "./is-worker-DESPicPc.mjs"; import { t as cache_default } from "./cache-SV6W5EPy.mjs"; import "./helpers-Bo4JQYdN.mjs"; import "./got-CO-ndVl2.mjs"; import { n as getArticle, r as getSingleRecord, t as baseUrl } from "./common-gDk04oLA.mjs"; //#region lib/routes/pku/ss/notice.ts const host = `${baseUrl}/newscenter/notice/`; const route = { path: "/ss/notice", radar: [{ source: ["ss.pku.edu.cn/index.php/newscenter/notice", "ss.pku.edu.cn/"] }], name: "Unknown", maintainers: ["legr4ndk"], handler, url: "ss.pku.edu.cn/index.php/newscenter/notice" }; async function handler() { const items = await getSingleRecord(host); return { title: "北大软微-通知公告", description: "北京大学软件与微电子学院 - 通知公告", link: host, item: await Promise.all(items.map((item) => getArticle(item, cache_default.tryGet))) }; } //#endregion export { route };