Skip to content

viraj-sh/auto-dylms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

At DY Patil, students must complete course progress on MyDYLMS by viewing every document, submitting assignments, posting in forums, and attempting quizzes — solely to mark them as completed.

This manual process can involve hundreds of items per course across multiple subjects. Auto-DYLMS automates it using Selenium, completing all required actions automatically to achieve 100% course progress in minutes.


Features

  • Automated Login – logs in with your MyDYLMS credentials.
  • Document Viewing – opens and marks all pending documents as viewed.
  • Quiz Handling – attempts all quizzes and submits random answers.
  • Forum Posting – posts a short text (e.g., ".") to mark participation.
  • Assignment Submission – uploads a random document to mark the assignment as submitted.
  • Course-Wise Completion – processes all pending items in every enrolled course.
  • Automatic Logout – logs out after completing all tasks.

Installation and Setup

1. Clone the Repository

git clone https://github.com/viraj-sh/auto-dylms.git
cd auto-dylms

2. Create and Activate a Virtual Environment

python -m venv venv
source venv/bin/activate   # On Windows: venv\Scripts\activate

3. Install Dependencies

pip install --upgrade pip
pip install -r requirements.txt

4. Download ChromeDriver

Auto-DYLMS uses Selenium, which requires ChromeDriver to control your browser. Download the correct version for your installed Chrome browser here: Web Driver for Chrome

After downloading, extract and note the path to your chromedriver file.


Configuration

Open main.py and set your credentials and ChromeDriver path:

email = "[email protected]"
password = "your_password"
chrome_driver_path = "/path/to/chromedriver"

Running the Automation

Run the script using:

python main.py

The automation will:

  1. Log in to your MyDYLMS account.
  2. Visit all enrolled courses.
  3. Mark pending documents as viewed.
  4. Submit assignments and forums automatically.
  5. Attempt and submit all quizzes.
  6. Log out once the entire process is complete.

Alternative (Document-Only Script)

If you prefer not to use the Selenium-based automation and only want to mark documents as viewed (without attempting quizzes, forums, or assignments), you can use the document-only version available here:

MyDYLMS Course Progress Script (Web Scraper) Google Colab Link

This version uses web scraping instead of browser automation and is suitable for basic course progression tasks.


Disclaimer

This project is intended solely for educational and personal use by DY Patil students. Use it responsibly and in accordance with your institution’s policies. The author is not affiliated with DY Patil University or the MYDYLMS platform.

About

Browser Automation using Selenium for mydylms to complete course progress

Topics

Resources

Stars

Watchers

Forks

Languages