# Anya A news headline aggregator that clusters near-duplicate headlines into **stories** and reports only the stories covered by a minimum number of distinct outlets. Instead of printing every pairwise "duplicate found" alert, Anya groups matching headlines transitively (union-find over cosine similarity) and answers the useful question: *which stories are multiple independent sources reporting right now?* ## How it works 1. **Load** source URLs and stopwords from `resources/`. 2. **Fetch** each source. RSS/Atom feeds are parsed as structured XML; HTML pages are first checked for embedded JSON (JSON-LD / Next.js SSR state) before falling back to scraping ``/`` text, associating each headline with the nearest `