import{t as e}from"./ofetch-Dl6dVB_5.mjs";import{t}from"./cache-DUthuMSu.mjs";import{load as n}from"cheerio";const r={path:`/`,categories:{name:`充电头网`,url:`www.chongdiantou.com`,categories:[`new-media`],lang:`zh-CN`,description:`充电头网是国内最早进行消费类电源技术及其周边配件（快充、充电头、充电器、无线充、车充、车载充电器、数据线、充电线材、移动电源及电芯、USB插排）评测、拆解的专业机构。`}.categories,example:`/chongdiantou`,radar:[{source:[`www.chongdiantou.com`]}],name:`最新资讯`,maintainers:[`Geraldxm`],handler:i,url:`www.chongdiantou.com`};async function i(){let r=await e(`https://www.chongdiantou.com/nice-json/front-end/home-load-more`),i;return i=r.data.map(e=>({title:e.title,link:e.link,image:e.cover,pubDate:new Date(e.time),category:e.cat.name})),i=await Promise.all(i.map(async r=>await t.tryGet(r.link,async()=>{try{r.description=n(await e(r.link))(`.post-content`).html()||`No content found`}catch{r.description=`Failed to fetch content`}return r}))),{title:`充电头网 - 最新资讯`,description:`充电头网新闻资讯`,link:`https://www.chongdiantou.com`,image:`https://static.chongdiantou.com/wp-content/uploads/2021/02/2021021806172389.png`,item:i}}export{r as route};