# -*- coding: utf-8 -*-
import io, sys, os, re, html
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
os.chdir(r"D:\work buddy\2026-11-05-14-15-52")
h=open("_usc3_mf.html",encoding="utf-8").read()
for m in re.finditer(r'href="([^"]+)"[^>]*>([^<]{2,60})</a>',h):
    u,t=m.group(1),html.unescape(m.group(2)).strip()
    if any(k in t.lower() for k in ["admission","requirement","procedure","degree","faq","application","cost","tuition","support"]):
        print(f"{t[:42]:42} | {u}")
