bayan-api / check_dividers.py
youssefreda9's picture
Fix 30 NLP edge cases in Grammar, Spelling, and Punctuation (Phase 10 results and Extension UI improvements)
be32617
Raw
History Blame Contribute Delete
241 Bytes
import re
with open('src/index.html', 'r', encoding='utf-8') as f:
html = f.read()
matches = re.findall(r'<div class="h-[67] w-\[1\.5px\] bg-gray-300 dark:bg-gray-700 rounded-full"></div>', html)
print(f'Found {len(matches)} dividers.')