import{t as e}from"./got-BBDj7u1e.mjs";import{load as t}from"cheerio";const n={path:`/index`,categories:[`multimedia`],example:`/storyfm/index`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`storyfm.cn/`]}],name:`首页`,maintainers:[`sanmmm`],handler:r,url:`storyfm.cn/`};async function r(){let n=`http://storyfm.cn`,r=t((await e(n)).data),i=[`一`,`二`,`三`,`四`,`五`,`六`,`七`,`八`,`九`,`十`,`十一`,`十二`];return{title:`故事说FM`,description:`故事说FM`,link:n,item:r(`.isotope > .isotope-item`).toArray().map(e=>{let n=t(e),r=n(`.isotope-img-container img`).attr(`src`),a=n(`.isotope-index-text`).first(),o=a.find(`.soundbyte-podcast-progression-title`),s=a.find(`a.soundbyte-podcast-play-progression`).attr(`href`),c=a.find(`.fa-clock-o`).text(),[l,u,d]=a.find(`.soundbyte-podcast-date-progression`).text().replace(`,`,``).split(` `).map(e=>(e.includes(`月`)&&(e=i.findIndex(t=>e.includes(t))+1),e)),f=new Date(`${d}-${l}-${u} ${c}`).toUTCString();return{title:o,description:[`<img src="${r}"/>`,o].join(`<br/>`),link:s,pubDate:f}})}}export{n as route};