import{t as e}from"./parse-date-BdYTmLpo.mjs";import{t}from"./got-BBDj7u1e.mjs";const n={path:`/latest`,categories:[`new-media`],example:`/fuliba/latest`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`fuliba2023.net/`]}],name:`最新`,maintainers:[`shinemoon`],handler:r,url:`fuliba2023.net/`};async function r(n){let{data:r}=await t(`https://fuliba2023.net/wp-json/wp/v2/posts`,{searchParams:{per_page:n.req.query(`limit`)??100,_embed:1}});return{title:`福利吧`,link:`https://fuliba2023.net`,item:r.map(t=>({title:t.title.rendered,link:t.link,guid:t.guid.rendered,description:t.content.rendered,pubDate:e(t.date_gmt),author:t._embedded.author[0].name}))}}export{n as route};