import{t as e}from"./ofetch-Dl6dVB_5.mjs";import{t}from"./utils-Bmi9askH.mjs";import{load as n}from"cheerio";const r={path:`/channel/:id`,name:`Channel`,maintainers:[`huanfe1`],example:`/javtiful/channel/madonna`,parameters:{id:`Channel name`},handler:i,categories:[`multimedia`],radar:[{source:[`javtiful.com/channel/:id`,`javtiful.com/channel/:id/*`],target:`/channel/:id`}],features:{nsfw:!0}};async function i(r){let{id:i}=r.req.param(),a=n(await e(`https://javtiful.com/channel/${i}`)),o=a(`section .card:not(:has(.bg-danger))`).toArray().map(e=>t(a(e)));return{title:a(`.channel-item__name_details a`).text(),link:`https://javtiful.com/channel/${i}`,allowEmpty:!0,item:o,image:a(`.content-section-title img`).attr(`src`),language:a(`html`).attr(`lang`)}}export{r as route};