import{t as e}from"./got-BBDj7u1e.mjs";import{a as t,n}from"./utils-gPF6hGYo.mjs";import{load as r}from"cheerio";const i={path:`/notes/:lang?/user/:uid`,categories:[`anime`],example:`/qoo-app/notes/en/user/35399143`,parameters:{lang:"Language, see the table above, empty means `中文`",uid:`User ID, can be found in URL`},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},name:`User Notes`,maintainers:[`TonyRL`],handler:a};async function a(i){let{uid:a,lang:o}=i.req.param(),s=`${t}${o?`/${o}`:``}/user/${a}`,{data:c}=await e(s),l=r(c),u=n(l);return{title:l(`head title`).text(),link:s,language:l(`html`).attr(`lang`),item:u}}export{i as route};