import{t as e}from"./parse-date-BdYTmLpo.mjs";import{t}from"./got-BBDj7u1e.mjs";import{load as n}from"cheerio";const r={path:`/library`,categories:[`university`],example:`/scnu/library`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`lib.scnu.edu.cn/news/zuixingonggao`,`lib.scnu.edu.cn/`]}],name:`图书馆通知`,maintainers:[`fengkx`],handler:i,url:`lib.scnu.edu.cn/news/zuixingonggao`};async function i(){let r=`https://lib.scnu.edu.cn`,i=`${r}/news/zuixingonggao/`,a=n((await t({method:`get`,url:i,headers:{Referer:r}})).data),o=a(`.article-list`).find(`li`);return{title:a(`title`).text(),link:i,description:`华南师范大学图书馆 - 通知公告`,item:o&&o.toArray().map(t=>(t=a(t),{title:t.find(`a`).text(),pubDate:e(t.find(`.clock`).text()),link:t.find(`a`).attr(`href`)}))}}export{r as route};