import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import{t as n}from"./got-BBDj7u1e.mjs";import{t as r}from"./timezone-keeL11Io.mjs";import{load as i}from"cheerio";const a={path:`/news`,categories:[`new-media`],example:`/mpaypass/news`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`mpaypass.com.cn/`]}],name:`新闻`,maintainers:[`LogicJake`,`genghis-yang`],handler:o,url:`mpaypass.com.cn/`};async function o(){let a=`http://m.mpaypass.com.cn`,o=i((await n(a)).data);return{title:`新闻 - 移动支付网`,link:a,language:`zh-CN`,item:await Promise.all(o(`.Newslist-li`).toArray().map(a=>{let s=o(a),c=s.find(`.Newslist-title a`),l=c.attr(`href`),u=c.text(),d=s.find(`.Newslist-time span`).text();return e.tryGet(l,async()=>({title:u,description:i((await n.get(l)).data)(`.newslist-body`).html(),link:l,pubDate:r(t(d),8)}))}))}}export{a as route};