# -*- 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")
raw=open("_19_CS.txt","rb").read().decode("utf-8","ignore")
raw=html.unescape(re.sub(r"<script.*?</script>","",raw,flags=re.S)); raw=html.unescape(re.sub(r"<style.*?</style>","",raw,flags=re.S))
t=re.sub(r"<[^>]+>"," ",raw); t=html.unescape(re.sub(r"\s+"," ",t))
print(t[:3500])
print("\n--- links ---")
for m in re.finditer(r'href="([^"]+)"',raw):
    h=m.group(1)
    if any(x in h for x in ["graduate","master","online","phd","apply","admission"]):
        print(h)
