Refactor news API integration to use NewsApiWrapper and GnewsWrapper; add tests for Gnews API functionality

This commit is contained in:
2025-09-30 00:34:07 +02:00
parent fc4753a245
commit c17a948ae0
10 changed files with 175 additions and 15 deletions

View File

@@ -14,8 +14,6 @@ dependencies = [
"pytest",
# ✅ per gestire variabili d'ambiente (generalmente API keys od opzioni)
"dotenv",
# 🟡 per fare scraping di pagine web
#"bs4",
# ✅ per fare una UI web semplice con input e output
"gradio",
@@ -34,6 +32,7 @@ dependencies = [
# ✅ per interagire con API di notizie
"newsapi-python",
"gnews",
]
[tool.pytest.ini_options]