# -*- 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")
for tag in ["geo-biostat-ms","vandy-ds","geo-dsa","geo-hids"]:
    raw=open(f"_15_{tag}.html",encoding="utf-8").read()
    links=re.findall(r'href="([^"]+)"',raw)
    links=[l for l in links if any(k in l.lower() for k in ["admiss","degree-require","degree-plan","curric","tuition","cost","faq","how-to-apply","requirements","apply","courses","handbook"])]
    print("="*20,tag)
    for l in dict.fromkeys(links): print(" ",l)
