# -*- coding: utf-8 -*-
import io, sys, re
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
BASE = r"D:\work buddy\2026-11-05-14-15-52"
h = open(BASE + r"_mae_inst.html", encoding="utf-8").read()
links = sorted(set(re.findall(r'href="([^"]+)"', h)))
for l in links:
    if re.search(r"masters|mae|economics|degree|curriculum|track", l, re.I):
        print(l)
