An open API service indexing awesome lists of open source software.

https://github.com/raphxels/nike_scrapper

Bot discord permettant de connaitre le stock d'une paire sur le site Nike.com
https://github.com/raphxels/nike_scrapper

bot discord nike python selenium stock

Last synced: about 2 months ago
JSON representation

Bot discord permettant de connaitre le stock d'une paire sur le site Nike.com

Awesome Lists containing this project

README

          

# 🇫🇷 Nike Scrapper

Bot Discord utilisant selenium, codé en python, permettant de récupérer le stock du site Nike sur une paire spécifiée.

Le bot renvoie un screenshot pour que l'utilisateur s'assure du bon fonctionnement du bot.

Prefix du bot : !

## Installation

Pour utiliser le bot, il vous faut installer les modules avec la commande suivante :

```bash
git clone https://github.com/RaphxelS/Nike_Scrapper
cd Nike_Scrapper
pip install -r requirements.txt
```
Dans le fichier .env remplacez le 'TOKEN' par le token de votre bot Discord (sans les '')

## Usage

Lancez le fichier **launch.bat**

Sinon, dans une invite de commande tapez
```bash
python bot.py
```

Lorsque le bot est lancé, rendez vous dans le salon discord de votre choix et tapez la commande :
```
!nk [taille] [lien]
```
Apres quelques secondes le bot devrais renvoyer le résultat de la requête.

## TODO

- [ ] Corriger le système de recherche par mot clé.
- [ ] Améliorer la vitesse de recherche.
- [ ] Etendre la compatibilité.

## DEMO

# 🇺🇸 Nike Scrapper

Discord bot using selenium, coded in python, allowing to retrieve the stock of the Nike website on a specified shoes.

The bot sends back a screenshot so that the user can check if the bot is working properly.

Prefix of the bot : !

## Installation

To use the bot, you need to install the modules with the following command:

```bash
git clone https://github.com/RaphxelS/Nike_Scrapper
cd Nike_Scrapper
pip install -r requirements.txt
```
In the .env file replace the 'TOKEN' by the token of your Discord bot (without the '')

## Usage

Launch the file **launch.bat**

Otherwise, in a command prompt type

```bash
python bot.py
```

When the bot is launched, go to the discord channel of your choice and type the command :
```
!nk [size] [link]
```
After a few seconds the bot should return the result of the request.

## TODO

- [ ] Fix the keyword search system.
- [ ] Improve the search speed.
- [ ] Extend compatibility.