# -*- coding: utf-8 -*-
import io, sys, os, json, urllib.request, ssl, re
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
os.chdir(r"D:\work buddy\2026-11-05-14-15-52")
todo=json.load(open("todo_upgrade.json",encoding="utf-8"))
want=["illinois-cd99a06","illinois-cc12913","illinois-c0c492e","illinois-cedb5cf","cornell-cb05803","cornell-c7c652f","cornell-c3b1b9a","cornell-c4ed07c","umich-c08bd16","umich-caec3eb","umich-ccfb6f9","duke-c710a43","dartmouth-engineering-meng","dartmouth-engineering-management","dartmouth-engineering-sciences-ms"]
ctx=ssl.create_default_context(); ctx.check_hostname=False; ctx.verify_mode=ssl.CERT_NONE
for t in todo:
    det=t.get("det","")
    short=os.path.basename(det).replace(".html","")
    if short in want:
        url=t.get("url","")
        print(f'{short} | {t.get("en","")[:38]} | {url}')
