kaan1233/bistelligence-api
0
1import re2 3with open('frontend/index.html', 'r', encoding='utf-8') as f:4 html = f.read()5 6# Pattern to remove7pattern = r'<div class="divider">\s*<span>veya</span>\s*</div>\s*<button id="btn-google-login" class="btn-google">\s*<img src="[^"]*" alt="Google">\s*Google ile Devam Et\s*</button>'8 9new_html = re.sub(pattern, '', html)10 11with open('frontend/index.html', 'w', encoding='utf-8') as f:12 f.write(new_html)13 14print("Google login button removed.")15 