import re

links = set()
with open('resources/views/components/layouts/app.blade.php', 'r', encoding='utf-8') as f:
    html = f.read()
    links.update(re.findall(r'href=[\'\"](/service/[^\'\"]+)[\'\"]', html))

with open('resources/views/home.blade.php', 'r', encoding='utf-8') as f:
    html = f.read()
    links.update(re.findall(r'href=[\'\"](/service/[^\'\"]+)[\'\"]', html))

print("SERVICES LINKS:")
for link in links:
    print(link)
