Giter Site home page Giter Site logo

multi-account-lms-attendance-proxy-bot's Introduction

Multi-Account-LMS-Attendance-Proxy-Bot

Hits

In one go, mark attendance on LMS from multiple accounts.

Changelog

  • 17/2/23
    Previously, there was a huge flaw that the bot would start working only after the attendance password was input. If the pages were slow to load, the bot would've missed the 15 second window and erroneously entered the old password, only to start the process all over again.
    Now, the bot auto-logins to LMS and inputs attendance password parallelly. Several accounts/windows can be opened while password is entered within the plentiful 15 second windows.
    Enter the password after you see that the atttendance pages on all windows have loaded for attendance to be marked instantly. Simply replace the old bot.py with the new one.

Usage

This program auto-logins multiple accounts on LMS simultaneously using the credentials you provide in credentials.json and marks their attendance in the course you select using the attendance password you enter.

Run bot.py as you would any python program.

eg.

python3 bot.py

image

Screenshot

Installation & Setup

Prerequisite - python must be installed on your system.

  1. Clone this repository.
  2. Download the latest stable release of ChromeDriver from https://chromedriver.chromium.org/home for your operating system.
  3. Unzip ChromeDriver into the local folder.
    The local directory structure should look like this:
Multi-Account-LMS-Attendance-Proxy-Bot
|   bot.py
│   chromedriver
│   courses.json
|   credentials.json
│   README.md
  1. Run this command in the terminal:
pip install selenium

Installation done! Now to set it up.

  1. Go into bot.py and choose a web browser that is installed on your system. Comment out the rest.

image

  1. Add all your courses to courses.json in the following format:

image

  • Names can be anything that will help you identify the courses later on, but the urls must be links to "Lecture Attendance" pages.

image

  1. Add your LMS credentials, as well as credentials of your friends to credentials.json in the following format:

image

Setup done!

Note

I made this program hastily and have only tested it on my native platform as a result.
If you run into any issues, drop it here or send me an email at [email protected] from your personal mail id and I'll get back to you. (I can't reply back to thapar.edu domain)

multi-account-lms-attendance-proxy-bot's People

Contributors

mistermond 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.