import{t as e}from"./ofetch-Dl6dVB_5.mjs";import{t}from"./cache-DUthuMSu.mjs";import{t as n}from"./parse-date-BdYTmLpo.mjs";import{t as r}from"./rss-parser-CtkSf1Et.mjs";import{load as i}from"cheerio";const a=async a=>{let o=await r.parseURL(`https://feed.iplaysoft.com`),s=Number.parseInt(a.req.query(`limit`)||`20`,10),c=o.items.filter(e=>!e?.link||!e?.pubDate?!1:new URL(e.link).hostname.match(/.*\.iplaysoft\.com$/)).slice(0,s);return{title:`异次元软件世界`,description:`软件改变生活`,language:`zh-CN`,link:`https://www.iplaysoft.com`,item:await Promise.all(c.map(r=>t.tryGet(r.link,async()=>{let t=i(await e(r.link));return t(`.entry-content`).find(`div[style*="overflow:hidden"]`).remove(),{title:r.title,description:t(`.entry-content`).html(),link:r.link,author:r.author,pubDate:n(r.pubDate)}})))}},o={path:`/`,name:`首页`,url:`www.iplaysoft.com`,maintainers:[`williamgateszhao`,`cscnk52`,`LokHsu`],handler:a,example:`/iplaysoft`,parameters:{},categories:[`program-update`],features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportRadar:!0,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`www.iplaysoft.com`],target:`/`}],view:0};export{a as handler,o as route};