# -*- coding: utf-8 -*-
import io, sys, os, re
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
os.chdir(r"D:\work buddy\2026-11-05-14-15-52")
idx=open("index_main.html",encoding="utf-8").read()
pro=idx[idx.find("const PROGRAMS="):idx.find("const CATD=")]
det_list=["ut-ca97d41.html","ut-c6a54a2.html","ut-c0199d6.html","ut-cc04acc.html","ut-c293e79.html"]
for d in det_list:
    cnt=pro.count(d)
    print(d, "PROGRAMS 出现次数:", cnt)
