import{t as e}from"./ofetch-Dl6dVB_5.mjs";import{t}from"./cache-DUthuMSu.mjs";import{t as n}from"./parse-date-BdYTmLpo.mjs";import{load as r}from"cheerio";const i={path:`/yjs`,categories:[`university`],example:`/snnu/yjs`,url:`newyjs.snnu.edu.cn`,features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportRadar:!0,supportBT:!1,supportPodcast:!1,supportScihub:!1},name:`研究生院通知公告`,maintainers:[`alterkeyy`],radar:[{source:[`newyjs.snnu.edu.cn/tzgg1.htm`],target:`/yjs`}],handler:async()=>{let i=`https://newyjs.snnu.edu.cn/tzgg1.htm`,a=r(await e(i)),o=a(`.n_bt li`).toArray().slice(0,10);return{title:`陕西师范大学 - 研究生院通知公告`,link:i,image:`https://newyjs.snnu.edu.cn/2024html/images24/logo01.png`,item:await Promise.all(o.map(o=>{let s=a(o).find(`a`).first(),c=new URL(s.attr(`href`)||``,i).href,l=n(s.find(`em`).text()),u=s.attr(`title`)||s.find(`p`).text()||s.text();return t.tryGet(c,async()=>{try{let t=r(await e(c));return{title:u,link:c,description:t(`.v_news_content`).html()||t(`#vsb_content`).html()||``,pubDate:l}}catch{return{title:u,link:c,pubDate:l}}})}))}}};export{i as route};