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:`/`,radar:[{source:[`hkjunkcall.com/`],target:``}],name:`Unknown`,maintainers:[`nczitzk`],handler:a,url:`hkjunkcall.com/`};async function a(){let i=`https://hkjunkcall.com/cdpushdash.asp`,a=r((await n({method:`get`,url:i})).data),o=a(`.hh15`).toArray().map(e=>(e=a(e).parent(),{title:e.text(),link:e.attr(`href`)})),s=await Promise.all(o.map(i=>e.tryGet(i.link,async()=>{let e=await n({method:`get`,url:i.link}),a=r(e.data);return a(`.card`).find(`div, h2`).remove(),i.guid=i.link.split(`/`).pop(),i.description=a(`.card`).html(),i.pubDate=t(e.data.match(/<br \/>(\d+-\d+-\d+)<\/div><\/a>/)[1]),i})));return{title:a(`title`).text(),link:i,item:s}}export{i as route};