# -*- coding: utf-8 -*-
import io, sys, os, re
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
B = r"D:\work buddy\2026-11-05-14-15-52"
h = open(os.path.join(B,"raw_unc.html"),encoding="utf-8").read()
# 找 degree-programs 主体
i = h.find("Degree Programs By Schools")
print("anchor idx:", i)
seg = h[i-200:i+2500]
print(seg)
