import{t as e}from"./cache-DUthuMSu.mjs";import{t}from"./parse-date-BdYTmLpo.mjs";import{t as n}from"./got-BBDj7u1e.mjs";import{load as r}from"cheerio";const i={path:`/clarification`,categories:[`government`],example:`/mohw/clarification`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`mohw.gov.tw/`]}],name:`即時新聞澄清`,maintainers:[`nczitzk`],handler:a,url:`mohw.gov.tw/`};async function a(){let i=`https://www.mohw.gov.tw/lp-17-1.html`,a=r((await n({method:`get`,url:i})).data),o=a(`.list01 a[title]`).toArray().map(e=>(e=a(e),{title:e.text(),link:e.attr(`href`)}));return o=await Promise.all(o.map(i=>e.tryGet(i.link,async()=>{let e=r((await n({method:`get`,url:i.link})).data);return i.description=e(`article`).html(),i.pubDate=t(e(`meta[name="DC.Date"]`).attr(`datetime`)),i}))),{title:`即時新聞澄清 - 台灣衛生福利部`,link:i,item:o}}export{i as route};