import{t as e}from"./parse-date-BdYTmLpo.mjs";import{t}from"./got-BBDj7u1e.mjs";import{load as n}from"cheerio";const r=`https://agirls.aotter.net`,i=async r=>{let i=n((await t(r.link)).data);r.category=[...new Set(i(`.ag-article__tag`).toArray().map(e=>i(e).text().trim().replace(`#`,``)))];let a=JSON.parse(i(`script[type="application/ld+json"]`).text());return r.description=i(`.ag-article__content`).html(),r.pubDate=e(a[`@graph`][0].datePublished),r.updated=e(a[`@graph`][0].dateModified),r.author=a[`@graph`][0].author.map(e=>e.name).join(`, `),r};export{i as n,r as t};