...
`
# It's a bit tricky to parse nested divs with regex.
# Let's extract the slider images using regex on `swiper-slide`
slides = re.findall(r'', html, re.IGNORECASE | re.DOTALL)
print(f"Found {len(slides)} slides with images.")
import re import json with open('/home/x79/sisvietnamvn_01/sisvietnamvn_Trang chính thức hiện tại/Đào tạo tại UMC.html', 'r', encoding='utf-8') as f: html = f.read() # Try to extract the main content. It's usually inside