GithubHelp home page GithubHelp logo

grade-scraper's Introduction

grade-scraper

Check grades and notify on changes

Usage on Windows

  • Download the executable from releases
  • Run it
  • Enter username and password, select an installed browser (Chrome/Firefox/Edge)
  • Click Start

Grades will be checked every 15 minutes, a notification will be displayed on changes

Setup

  • Clone repo
  • Install requirements
    • pip install -r requirements.txt or
    • python3 -m pip install -r requirements.txt
  • Run Selenium WebDriver
    • Run docker container selenium/standalone-chrome
    • docker-compose up -d in directory selenium_chrome
  • Run python3 main.py to create settings file settings.json
  • Edit settings.json
    • users: username and password
    • discord_webhook.url: Discord Webhook URL (https://discord.com/api/webhooks/...)
    • remote_webdriver_url: URL for remote webdriver, default value works with the docker container running locally
    • Optional:
      • users: discord_id: Discord User ID to be mentioned, everyone or here
      • discord_webhook
        • name: Override name in Discord message
        • avatar_url: Override icon in Discord message

Get Discord Webhook ID

  • Select channel the messages should be sent to
  • Click the gear icon (Edit channel)
  • Go to Integrations > Webhooks
  • Create a Webhook
    • Change name and avatar (will be used if not set in settings.json)
  • Copy Webhook URL

Run

Periodically run python3 main.py

grade-scraper's People

Contributors

jthedroid avatar

Stargazers

 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.