import{r as e,t}from"./util-C1azhJmz.mjs";const n=async n=>{let r=Number.parseInt(n.req.query(`limit`)??`30`,10),i=new URL(`videos`,t).href,a=new URL(`gapi/v1/videos`,t).href;return await e(r,{"page[limit]":r,sort:`-published-at`,include:`category,user,media`,"filter[list-all]":1},a,i)},r={path:`/videos`,name:`视频`,url:`www.gcores.com`,maintainers:[`nczitzk`],handler:n,example:`/gcores/videos`,parameters:void 0,description:void 0,categories:[`game`],features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportRadar:!0,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`www.gcores.com/videos`],target:`/gcores/videos`}],view:3};export{n as handler,r as route};