import{a as e,i as t,n,r,t as i}from"./util-C0CxV5zg.mjs";const a={path:`/column/:id`,categories:[`new-media`],example:`/foresightnews/column/1`,parameters:{id:`专栏 id, 可在对应专栏页 URL 中找到`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`foresightnews.pro/column/detail/:id`,`foresightnews.pro/`]}],name:`专栏`,maintainers:[`nczitzk`],handler:o,url:`foresightnews.pro/`};async function o(a){let o=a.req.param(`id`),s=a.req.query(`limit`)?Number.parseInt(a.req.query(`limit`),10):50,c=new URL(`v1/articles`,i).href,l=new URL(`column/detail/${o}`,e).href,{items:u,info:d}=await t(c,s,{column_id:o}),f=d.column;return{item:u,title:`Foresight News - ${f}`,link:l,description:`${f} - Foresight News`,language:`zh-cn`,image:r,icon:n,logo:n,subtitle:f,author:`Foresight News`}}export{a as route};