Discord Scraper made with python, selenium, openCV and tesseract(OCR)
Filters through messages selecting matching images to react with.
Remade Repository because of sensitive information leaked sorry.
- Selenium
- Discord Webhook
- Numpy
- OpenCV
- Dotenv
-
Download and setup Tesseract
-
Download and setup Selenium
-
Clone the repo
git clone https://github.com/JuanLeee/Kbot.git
-
Install all packages
pip install -r requirements.txt
-
Setup .env file
NEED THESE INFORMATION
- Discord User Name
- DISCORD_USER_NAME
- Discord Password
- DISCORD_PASSWORD
- Discord Display Nickname
- DISCORD_ID_NAME
- Discord Webhook
- DISCORD_LINK
- Server Class Identifier
- Found through debug on discord page of server of interest
- Channel Class Identifier
- Found through debug on discord page of channel of interest
- Discord User Name
-
Make main_startup script with Object Main
user_name = os.getenv('DISCORD_USER_NAME') password = os.getenv('DISCORD_PASSWORD') id_name = os.getenv('DISCORD_ID_NAME') main = Main(user_name,password,id_name) main.add_thread(server_html_class,channel_html_class,server_name,timer_flag,typing) main.run_threads(10) main.debug_stop_loop()
-
Run main file
py main_start.py