feat: Semaine 8

This commit is contained in:
gauvainboiche
2026-05-11 09:25:19 +02:00
parent 606e43e53f
commit 3315cb2336
123 changed files with 5748 additions and 0 deletions
@@ -0,0 +1,10 @@
from domain.entities import Alert
from ports.outbound.notifier_protocol import Notifier
class CliNotifierAdapter(Notifier):
def send_alert(self, alert: Alert) -> None:
print("-" * 30)
print(f"Mots-clefs : {alert.matched_keywords}")
print(f"Titre : {alert.article.title}")
print(f"Lien : {alert.article.url}")
print("-" * 30)