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*as r from"cheerio";const i={path:`/blog`,categories:[`social-media`],view:0,example:`/telegram/blog`,parameters:{},features:{requireConfig:!1,requirePuppeteer:!1,antiCrawler:!1,supportBT:!1,supportPodcast:!1,supportScihub:!1},radar:[{source:[`telegram.org/blog`]}],name:`Telegram Blog`,maintainers:[`fengkx`],handler:a,url:`telegram.org/blog`};async function a(){let i=`https://telegram.org/blog`,a=await e(i),o=r.load(a),s=await Promise.all(o(`.dev_blog_card_link_wrap`).toArray().map(i=>{let a=`https://telegram.org`+o(i).attr(`href`);return t.tryGet(a,async()=>{let t=await e(a),i=r.load(t);return{title:i(`#dev_page_title`).text(),link:a,pubDate:n(i(`[property="article:published_time"]`).attr(`content`)),description:i(`#dev_page_content_wrap`).html()}})}));return{title:o(`title`).text(),link:i,item:s}}export{i as route};