import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./got-BBDj7u1e.mjs";import{n,r,t as i}from"./const-UO248sVj.mjs";import{load as a}from"cheerio";const o={path:`/`,categories:[`picture`],example:`/baobua`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`baobua.com/`],target:``}],name:`Latest`,maintainers:[`AiraNadih`],handler:s,url:`baobua.com/`};async function s(){let o=a((await t(n)).body),s=o(`.thcovering-video`).toArray();return{title:`${i} - Latest`,link:n,item:await Promise.all(s.map(t=>{let i=o(t).find(`a`).attr(`href`);return i?(i.startsWith(`/`)&&(i=new URL(i,n).href),e.tryGet(i,()=>r(i))):null}).filter(Boolean))}}export{o as route};