import { findTopNews } from "https://esm.town/v/kajgod/findTopNews";
export async function fetchZrs() {
const dryRun = false;
const email = (title) =>
`Novosti na ZRS stranici: ${title}\r\n https://web.zrs.hr/ \r\n j. \r\n`;
const subject = (title) => `ZRS: ${title}`;
const url = "https://web.zrs.hr/";
const className = "indexnews";
const offset = 65;
const r = await findTopNews(
url,
className,
offset,
email,
subject,
dryRun,
);
console.log(r);
}