import{t as e}from"./ofetch-Dl6dVB_5.mjs";import{t}from"./description-BXXpRBCY.mjs";import{load as n}from"cheerio";const r={path:`/news`,name:`News`,url:`coolidge.org/about-us/news-media`,maintainers:[`johan456789`],example:`/coolidge/news`,categories:[`blog`],features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportRadar:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},handler:async()=>{let r=`https://coolidge.org/about-us/news-media`,i=n(await e(r));return{title:`Coolidge Corner Theatre - News`,link:r,description:`News`,item:i(`#block-coolidge-content > div > div > div.view-content`).first().find(`div.news-item`).toArray().map(e=>{let n=i(e),a=n.find(`h2.news-item__title > a`).first(),o=a.text().trim(),s=a.attr(`href`),c=n.find(`div.news-item__content > p`).first().text().trim(),l=n.find(`div.news-item__image img`).first().attr(`src`),u=s?new URL(s,r).href:void 0,d=l?new URL(l,r).href:void 0;return{title:o,description:t({image:d,intro:c}),link:u??r,guid:u??d??o}})}}};export{r as route};