Bot & Scraper for checking Nvidia GPU availability in MSRP from Indonesian e-commerce sites.
Bot made using discord API wrapper for python: https://github.com/Rapptz/discord.py
Scraping uses Selenium and BeautifulSoup4 in python.
This bot currently scrapes from Nvidia Geforce Official Store in Tokopedia.
-
Selenium and driver (ex. geckodriver)
pip install Selenium
-
BeautifulSoup4
pip3 install beautifulsoup4
-
lxml-parser
pip3 install lxml
-
discord.py
pip3 install discord.py
-
Install Requirements (advised to use virtualenv) and put the driver to ./bin/
-
Change TOKEN in the main.py to your discord bot tokens.
-
Run the main.py (activate virutalenv first if you're using virtualenv)
python3 main.py
Change bot to use cog