import re

with open(r"C:\ASSISTANT_IA\boutiques\sneaksafe\index.html", encoding="utf-8") as f:
    html = f.read()

secs = re.findall(r'<section[^>]*id=["\']([^"\']+)["\']', html)
print("Local index.html sections:", secs)

with open(r"C:\ASSISTANT_IA\boutiques\sneaksafe\produit.html", encoding="utf-8") as f:
    html_p = f.read()

secs_p = re.findall(r'<section[^>]*id=["\']([^"\']+)["\']', html_p)
print("Local produit.html sections:", len(secs_p), secs_p[:5])
