import{t as e}from"./got-BBDj7u1e.mjs";import{load as t}from"cheerio";const n=`https://censorbib.nymity.ch/`,r={path:`/censorbib`,categories:[`journal`],example:`/nymity/censorbib`,radar:[{source:[`censorbib.nymity.ch/`]}],name:`CensorBib Updates`,maintainers:[`xtexChooser`],handler:i,url:`censorbib.nymity.ch/`};async function i(){let r=t((await e.get(n)).data);return{title:`CensorBib`,link:n,description:`CensorBib Updates`,item:r(`#container ul li`).toArray().map(e=>{let t=r(e),n=t.attr(`id`),i=t.find(`span.paper`).text().trim(),a=t.find(`span.author`).text().trim(),o=t.find(`span.other`).text().trim(),s=t.find(`img.icon[title='Download paper']`).parent().attr(`href`),c=t.find(`img.icon[title='Download BibTeX']`).parent().attr(`href`),l=t.find(`img.icon[title='Link to paper']`).parent().attr(`href`);return{title:i,description:`${o}<br/><br/><a href='${s}'>Download</a><br/><a href='${c}'>Download BibTex</a>`,author:a,guid:n,link:l}})}}export{r as route};