import io, re, collections
h = io.open(r"D:\work buddy\2026-11-05-14-15-52\index_main.html", encoding="utf-8").read()
s = h[h.index("const PROGRAMS=["):h.index("const CATD=[")]
c = collections.Counter(re.findall(r'test:\{cls:"([^"]*)"', s))
print(c.most_common(20))
