import{t as e}from"./got-BBDj7u1e.mjs";import{load as t}from"cheerio";const n={path:`/kjc/:type`,categories:[`university`],example:``,parameters:{type:`分类名`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`www7.zzu.edu.cn/kjc/`]}],name:`郑大科研院`,maintainers:[`amandus1990`],handler:r,description:`| 新闻资讯 | 通知公告 |
| -------- | -------- |
| xwzx     | tzgg     |`};async function r(n){let r=n.req.param(`type`),i={xwzx:[`新闻资讯`,`https://www7.zzu.edu.cn/kjc/index/kydt.htm`],tzgg:[`通知公告`,`https://www7.zzu.edu.cn/kjc/index/tzgg.htm`]},a=t((await e(i[r][1])).data),o=a(`.list_guild`).toArray().slice(0,14).map(e=>{let t=a(e),n=t.find(`a`).first(),o=new URL(n.attr(`href`),i[r][1]).href;return{title:n.attr(`title`)||n.text().trim(),link:o,pubDate:t.find(`span`).text().trim()||null}});return{title:`郑大科研院-${i[r][0]}`,link:i[r][1],item:o}}export{n as route};