import{t as e}from"./got-BBDj7u1e.mjs";import{t}from"./utils-Di2RTyTU.mjs";const n={path:`/people/pins/:id`,categories:[`social-media`],example:`/zhihu/people/pins/kan-dan-45`,parameters:{id:`作者 id，可在用户主页 URL 中找到`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!0,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`www.zhihu.com/people/:id/pins`]}],name:`用户想法`,maintainers:[`xyqfer`],handler:r};async function r(n){let r=n.req.param(`id`),{data:{data:i}}=await e({method:`get`,url:`https://api.zhihu.com/pins/${r}/moments?limit=10&offset=0`});return{title:`${i[0].target.author.name}的知乎想法`,link:`https://www.zhihu.com/people/${r}/pins`,item:t(i)}}export{n as route};