# -*- 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")
t=open("index_main.html",encoding="utf-8").read()
prog=t[t.find("const PROGRAMS="):t.find("const CATD=")]
for m in re.finditer(r'\{id:"([^"]+)",s:"notre"[\s\S]*?en:"([^"]*)"[\s\S]*?url:"([^"]+)"',prog):
    print(m.group(1),"|",m.group(2)[:48],"|",m.group(3))
print("=== JHU EHE 三条核对 ===")
for det in ["details/jhu-cefa6e1.html","details/jhu-cd46a5d.html","details/jhu-c1d5ed0.html"]:
    print(det,"IN PROG" if det in prog else "no")
