import{a as e,i as t,n}from"./utils-CA0RyU2z.mjs";const r={path:`/tag/:tag`,categories:[`picture`],example:`/8kcos/tag/cosplay`,parameters:{tag:`标签名`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1,nsfw:!0},radar:[{source:[`8kcosplay.com/tag/:tag`]}],name:`标签`,maintainers:[`KotoriK`],handler:i,url:`8kcosplay.com/`};async function i(r){let i=Number.parseInt(r.req.query(`limit`)??10,10),a=r.req.param(`tag`),o=await e(a),s=await t(i,{tags:o.id});return{title:`${o.title}`,link:`${n}/tag/${a}/`,item:s}}export{r as route};