from pathlib import Path
path = Path('d:/kreuzberg/pipeline_claim/index.html')
text = path.read_text(encoding='utf-8', errors='replace')
ids = ['DOC31','DOC32','DOC33','DOC34','DOC35','DOC36','DOC37','DOC40','DOC41']
for doc_id in ids:
    text = text.replace(f'<section class="doc-card" id="{doc_id}"', f'<section class="doc-card email" id="{doc_id}"', 1)
path.write_text(text, encoding='utf-8')
print('done email classes')
