- [Scrapy] (https://scrapy.org/)
- [Playwright] (https://playwright.dev/)
- [Supabase] (https://supabase.com/)
- [Google Gemini API] (https://ai.google.dev/)
- [Python 3.13+] (https://www.python.org/)
- [dotenv] (https://pypi.org/project/python-dotenv/)
Ai_Veille/ ├── main.py # Manual scraper launch ├── auto_runner.py #Automated launch ├── ia_scraper/ #Scrapy project ├── spiders/articles.py # Main Spider └── settings.py # Configs Scrapy & Playwright ├── supabase_db/ # Supabase connection ├── db_services.py │ ├── summarizer.py #Summaries via Gemini └── client.py ├── .env # Environment variables (not versioned) ├── requirements.txt └── README.md
-cd ai_veille
-python -m venv .venv -source .venv/Scripts/activate # Windows
source .venv/bin/activate # Linux/macOS
-pip install -r requirements.txt
-Crée un fichier .env et ajoute tes clés Supabase + Gemini :
-SUPABASE_URL=... -SUPABASE_KEY=... -GEMINI_API_KEY=...
python main.py