Ce projet permet de scraper des mots Kirundi à partir de sites web spécifiés, en utilisant un agent automatisé avec un navigateur contrôlé et un modèle de langage avancé.
This project scrapes Kirundi words from specified websites using an automated agent with a controlled browser and an advanced language model.
- Python 3.8+
- Google Chrome installé / Google Chrome installed
- Clés API Google et LangSmith / Google and LangSmith API keys
-
Clonez ce dépôt / Clone this repository
-
Installez les dépendances / Install dependencies
pip install -r requirements.txt-
Obtenez vos clés API / Get your API keys
-
Créez un fichier
.envà la racine du projet / Create a.envfile at the project root
Le fichier .env doit contenir :
The .env file should contain:
GOOGLE_API_KEY=your_google_api_key_here
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=""
LANGSMITH_API_KEY=""
LANGSMITH_PROJECT=""
Lancez le script principal : Run the main script:
python main.pyLe script va scraper les mots Kirundi et afficher le résultat final dans la console. The script will scrape Kirundi words and print the final result in the console.
Pour toute question, ouvrez une issue. For any questions, open an issue.