Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Dinoosawruss/Automatic-Smart-Revise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS NO LONGER WORKS

Why?

SmartRevise has added a system used to block bots connecting

Why not fix it?

I've decided it is best to respect their wishes and not continue to work on the issue See this issue for more information

Can I fix it?

I can't stop you, however, it is probably best to respect their wishes

Automatic-Smart-Revise

Old README
Automate answering questions on the computer science revision website https://smartrevise.online

Usage

THIS NO LONGER WORKS AND IS AN OLD USAGE

  1. Download all files from this repository
  2. Ensure that python 3.7 or higher is installed and working on your machine
  3. Install the selenium web driver by opening the command prompt and typing python3 -m pip install selenium
  4. Download the correct version of chrome web driver and put it in the same directory.
  5. Create a file named secrets.py in the same directory. Create two python variables with username and password
  6. Run the main.py script ensuring that only the topics you want to bot and are fully mapped are checked to revise
  7. Ensure that the bot is running correctly and leave it to do its magic

Important Note

Any contributors or developers of this project are not responsible for the way it is used. This project was made for fun, not cheating and skipping out on homework or revision. Use this project wisely and at your own discretion.

Contributors

  • Michael Dormand (Dinoosawruss)
  • Ded-Ex

Review

What did this teach me?

This project taught me how to interact with the web and chrome using the selenium web driver and python. It also taught me about interacting with CSV files as databases and how difficult mapping a database can be.

Tools Used:

  • Python 3.7+
  • Selenium Web Driver
  • CSV files

FAQ

Currently None

Updates

main.py changes:

  • Changed some xpath code to target correct elements on updated site
  • Added new targeter and click event to remove the cookies button on startup
  • Added new targeter and click event to start the quiz properly with new interface