import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./got-BBDj7u1e.mjs";import{i as n,n as r,r as i,t as a}from"./utils-C_5rXq75.mjs";const o={path:`/blogs/:tag`,categories:[`programming`],example:`/segmentfault/blogs/go`,parameters:{tag:`标签名称，在 [标签](https://segmentfault.com/tags) 中可以找到`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!0,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`segmentfault.com/t/:tag/blogs`]}],name:`博客`,maintainers:[`shiluanzzz`],handler:s};async function s(o){let s=o.req.param(`tag`),c=(await t(`${r}/gateway/tag/${s}/articles?loadMoreType=pagination&initData=true&page=1&sort=newest&pageSize=30`)).data.rows,l=n(c),u=await a(l[0].link,e.tryGet),d=await Promise.all(l.map(t=>i(u,t,e.tryGet)));return{title:`segmentfault-Blogs-${s}`,link:`${r}/t/${s}/blogs`,item:d}}export{o as route};