Giter VIP home page Giter VIP logo

kbot's Introduction

Discord Scraper

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.

Built With

Getting Started

Prerequisites

Libraries Used

  • Selenium
  • Discord Webhook
  • Numpy
  • OpenCV
  • Dotenv

Installation

  1. Download and setup Tesseract

  2. Download and setup Selenium

  3. Clone the repo

    git clone https://github.com/JuanLeee/Kbot.git
  4. Install all packages

    pip install -r requirements.txt
  5. 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
  6. 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()
  7. Run main file

    py main_start.py

kbot's People

Contributors

juanleee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.