import{t as e}from"./parse-date-BdYTmLpo.mjs";import{t}from"./got-BBDj7u1e.mjs";import{load as n}from"cheerio";const r={path:`/news`,categories:[`travel`],example:`/guangzhoumetro/news`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},name:`新闻`,maintainers:[`HankChow`],handler:i};async function i(){let r=`https://www.gzmtr.com/ygwm/xwzx/gsxw/`,i=(await t(r)).data,a=n(i);return{title:`广州地铁新闻`,url:r,description:`广州地铁新闻`,item:a(`ul.ag_h_w li`).toArray().map(t=>{t=a(t);let n=r+t.find(`a`).attr(`href`).slice(2);return{title:t.find(`a`).text(),link:n,author:`广州地铁`,pubtime:e(t.find(`span`).text())}}).map(e=>({title:e.title,pubDate:e.pubtime,link:e.link,author:e.author}))}}export{r as route};