import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import{t as n}from"./got-BBDj7u1e.mjs";import{load as r}from"cheerio";const i=`https://jwc.scu.edu.cn/`,a={path:`/jwc`,categories:[`university`],example:`/scu/jwc`,features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`jwc.scu.edu.cn`],target:`/jwc`}],name:`教务处通知公告`,maintainers:[`Kyle-You`],handler:o};async function o(){let{data:a}=await n.get(`https://jwc.scu.edu.cn/tzgg.htm`),o=r(a),s=o(`.tz-list ul li a`).toArray().map(e=>{e=o(e);let t=e.attr(`href`);return t.startsWith(`http`)?t:i+t});return{title:`四川大学教务处`,link:i,description:`四川大学教务处通知公告`,item:await Promise.all(s.map(i=>e.tryGet(i,async()=>{let{data:e}=await n.get(i),a=r(e);return{title:a(`head meta[name="ArticleTitle"]`).attr(`content`)??``,link:i,pubDate:t(a(`head meta[name="PubDate"]`).attr(`content`)??``),description:a(`.v_news_content`).html()}}))),language:`zh-cn`,image:`https://www.scu.edu.cn/__local/B/67/25/DFAF986CCD6529E52D7830F180D_C37C7DEE_4340.png`,logo:`https://www.scu.edu.cn/__local/B/67/25/DFAF986CCD6529E52D7830F180D_C37C7DEE_4340.png`,icon:`https://www.scu.edu.cn/__local/B/67/25/DFAF986CCD6529E52D7830F180D_C37C7DEE_4340.png`}}export{a as route};