# -*- 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")
for f,label,pos in [("_33_jhu-cefa6e1.html","EHE MA",50579),("_33_jhu-c1d5ed0.html","EHE MSE",50615)]:
    b=open(f,"rb").read()
    txt=html.unescape(re.sub(r"<script[\s\S]*?</script>|<style[\s\S]*?</style>"," ",b.decode("utf-8","ignore")))
    txt=re.sub(r"<[^>]+>"," ",txt); txt=re.sub(r"\s+"," ",txt)
    print("===",label,"===")
    print(txt[pos:pos+2400])
    print()
