import { findTopNews } from "https://esm.town/v/kajgod/findTopNews";
export async function fetchMnm() {
const dryRun = false;
const email = (title) =>
`Mladi nadareni matematičari: ${title}\r\n ${url} \r\n j. \r\n`;
const subject = (title) => `ZRS: ${title}`;
const url = "https://mnm.hr/";
const className = "entry-title";
const offset = 100 - 29;
const r = await findTopNews(
url,
className,
offset,
email,
subject,
dryRun,
);
console.log(r);
}