BotLyondOr est un bot simple pour automatiser les votes sur le site lyon-dor.fr. Il utilise Selenium pour interagir avec le site web et Flask pour fournir une interface web de gestion et de suivi des votes.
-
Clonez le dépôt :
git clone https://github.com/RISK-alt/BotLyondOr.git cd BotLyondOr -
Créez un environnement virtuel et activez-le :
python -m venv venv source venv/bin/activate # Sur Windows, utilisez `venv\Scripts\activate`
-
Installez les dépendances :
pip install -r requirements.txt
-
Assurez-vous d'avoir le driver Chrome installé et disponible dans votre PATH.
-
Générer des faux prénoms et noms :
python generate_fake_names.py
-
Démarrez l'application Flask :
python app.py
-
Accédez à l'interface web à l'adresse suivante : http://127.0.0.1:5000/
-
Cliquez sur le bouton "Start Voting" pour commencer le processus de vote automatique.
BotLyondOr/ │ ├── app.py # Serveur Flask principal ├── vote_bot.py # Script du bot de vote ├── requirements.txt # Dépendances du projet ├── fake_names.csv # Fichier CSV contenant les faux prénoms et noms ├── generate_fake_names.py # Script pour générer des faux prénoms et noms ├── templates/ │ └── index.html # Template HTML pour le panel web ├── static/ │ └── style.css # Fichier CSS pour le design sobre du panel └── README.md # Documentation du projet
- Forkez le projet
- Créez votre branche de fonctionnalité (
git checkout -b feature/AmazingFeature) - Commitez vos changements (
git commit -m 'Add some AmazingFeature') - Poussez votre branche (
git push origin feature/AmazingFeature) - Ouvrez une Pull Request
Ce projet est sous licence MIT. Voir le fichier LICENSE