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=`http://www.ulapia.com`,a=[`stock_research`,`industry_research`,`strategy_research`,`macro_research`,`ipo_research`],o={path:`/research/latest`,categories:[`finance`],example:`/ulapia/research/latest`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`www.ulapia.com/`]}],name:`最新研报`,maintainers:[],handler:s,url:`www.ulapia.com/`};async function s(){return{title:`Ulapia - 最新研报`,link:i,item:(await Promise.all(a.map(a=>{let o=`${i}/reports/${a}`;return e.tryGet(o,async()=>{let e=r((await n.get(o)).data);return e(`div.row > div.col-md-6`).slice(0,6).toArray().map(n=>({title:`${e(n).find(`strong`).text()}  ${e(n).find(`h5.mb-1`).text()}`,author:e(n).find(`div.col.p-8.d-flex.px-3.py-3.flex-column.position-static > div:nth-child(4) > span:nth-child(2)`).text(),link:e(n).find(`h5.mb-1 > a`).attr(`href`),description:`<img src="${e(n).find(`img`).attr(`src`).split(`!`)[0]}">`,pubDate:t(e(n).find(`div.mb-0.text-muted`).last().text().split(`:`)[1],`YYYY-MM-DD`)}))})}))).flat()}}export{o as route};