import io, re
h = io.open(r"D:\work buddy\2026-11-05-14-15-52\index_main.html", encoding="utf-8").read()
i1 = h.index("const CATD=[")
i2 = h.index("const VERIFIED_DETAILS=")
print(i1, i2, i2 - i1)
seg = h[i1:i2]
print("id quote", len(re.findall(r'\{id:"', seg)), "id col", len(re.findall(r'\{id:', seg)))
print(seg[:200])
