/smart_assessments_solver

An AI Agent bulit using dynamic scraping technologies (Selenium) in Python leveraging OpenAI and Ollama APIs!

Primary LanguagePythonApache License 2.0Apache-2.0

Smart Assessments Solver

⚠️ DISCLAIMER: This script is intended for educational purposes only.

We are not responsible for any harm or damages caused by this script. Use at your own risk.

The script won't necessarily work in real life

In order to protect the abuse of this script, we didn't add the critical parts (such as Selenium Selectors) in the scripts. The script still has the same effect as it had before (a perfect thing to learn from)

How to setup on your PC

First of all, clone this repo to your computer:

git clone https://github.com/sdhmh/smart-assessments-solver

Linux-based Distributions:

python -m venv .venv
source .venv/bin/activate

Windows (PowerShell):

python -m venv .venv
.\.venv\Scripts\Activate.psl

Then install dependencies:

pip install -r requirements.txt

Now you are ready to run main script:

python main.py

Remember to always run main.py. Make necessary change in it if you want to solve different problems.

Important! Populate .env file

cp sample.env .env

Now, open .env with any text editor and populate your .env file with either USERNAME and PASSWORD (your username and password on the portal) or COOKIES_FILE (Copy Cookies using Cookie-Editor Extension as json and paste it in a file. Give the path to that file either relative or absolute)