# -*- coding: utf-8 -*-
import io, sys, os, re, urllib.request, ssl, socket, 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("_15_geo-dspp.html",encoding="utf-8").read() if os.path.exists("_15_geo-dspp.html") else ""
if not raw:
    ctx=ssl.create_default_context(); ctx.check_hostname=False; ctx.verify_mode=ssl.CERT_NONE
    socket.setdefaulttimeout(15)
    req=urllib.request.Request("https://mccourt.georgetown.edu/master-of-science-in-data-science-for-public-policy/",headers={"User-Agent":"Mozilla/5.0"})
    raw=urllib.request.urlopen(req,context=ctx).read().decode("utf-8","ignore")
links=[l for l in re.findall(r'href="([^"]+)"',raw) if any(k in l.lower() for k in ["apply","admiss","requirement","tuition","aid","faq"])]
for l in dict.fromkeys(links): print(l)
