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://www.xbmu.edu.cn/xwzx/xsxx.htm`,a={path:`/academic`,name:`学术信息`,maintainers:[`PrinOrange`],handler:async()=>{try{let{data:a}=await n(i),o=r(a),s=o(`body > div.container.list-container.ny_mani > div > div.news_list > ul > li`),c=await Promise.all(s.toArray().map(e=>{let[n,r]=o(e).find(`span`).text().trim().split(`/`).map(e=>e.trim());return{date:t(`${r}-${n}`).toUTCString(),title:o(e).find(`a`).attr(`title`)||`学术信息`,link:`https://www.xbmu.edu.cn/${(o(e).find(`a`).attr(`href`)||``).replaceAll(`../`,``)}`}}));return{title:`西北民族大学学术信息`,description:`西北民族大学近日学术信息`,link:i,image:`http://210.26.0.114:9090/mdxg/img/weex/default_img.jpg`,item:await Promise.all(c.map(t=>e.tryGet(t.link,async()=>{let{data:e}=await n(t.link),i=r(e)(`#vsb_content > div`).html()||``;return{title:t.title,pubDate:t.date,link:t.link,description:i,category:[`university`],guid:t.link,id:t.link,image:`http://210.26.0.114:9090/mdxg/img/weex/default_img.jpg`,content:i,updated:t.date,language:`zh-cn`}}))),allowEmpty:!0,language:`zh-cn`,feedLink:`https://rsshub.app/xbmu/academic`,id:`https://rsshub.app/xbmu/academic`}}catch(e){throw Error(`Error fetching academic information: ${e}`,{cause:e})}},categories:[`university`],features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},example:`/xbmu/academic`};export{a as route};