import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./got-BBDj7u1e.mjs";import{t as n}from"./utils-pBQnW_yK.mjs";import{load as r}from"cheerio";const i={path:`/:do?/:keyword?`,radar:[{source:[`leiphone.com/`],target:``}],name:`Unknown`,maintainers:[],handler:a,url:`leiphone.com/`};async function a(i){let a=i.req.param(`do`)??``,o=i.req.param(`keyword`)??``,s=`https://www.leiphone.com/${a}/${o}`,c=r((await t.get(s)).data),l=c(`.word > h3 > a`).slice(0,10).toArray().map(e=>c(e).attr(`href`)),u=await n.ProcessFeed(l,e);return{title:`雷峰网${a===`category`?` ${o}`:``}`,description:`雷峰网 - 读懂智能&未来`,link:s,item:u}}export{i as route};