# -*- coding: utf-8 -*-
import re, io, sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
BASE = r"D:\work buddy\2026-11-05-14-15-52"
html = open(BASE + r"\index_main.html", encoding="utf-8").read()
for chunk in html.split('{id:"')[1:]:
    mi = re.search(r'id:"([^"]*)"', chunk)
    ms = re.search(r's:"([^"]*)"', chunk)
    me = re.search(r'en:"([^"]*)"', chunk)
    mu = re.search(r'url:"([^"]*)"', chunk)
    if ms and ms.group(1) == 'cmu':
        print(mi.group(1) if mi else '', '|', me.group(1) if me else '', '|', mu.group(1) if mu else '')
