Giter Club home page Giter Club logo

course-selector-bot-expressjs-server's Introduction

course-selector-bot-expressjs-server

Here I just put my course selection bot -> https://github.com/zinx110/university-pre-resgistration-automate in an express js server. I have not tried putting it on a live hosting, just manually called the get api by refreshing the local host. No dynamic post request yet. Only used hard coded credentials for now. Although I won't be further developing this server code and the reason is stated below. The text below this is the exact same description of the idea behind the code that I wrote in the https://github.com/zinx110/course-selector-electron-app readme.

The purpose was to help me make the course selection process in my university easy for me and my friends and give us advantages over other students. In each semester after mid term exams, We have to do pre registration for next semester and select courses and timings. But the offered courses are limited so it becomes a war on the day for who gets to claim their courses before. We'd stay online and keep refreshing the university management system portal from one hour before because some times it opens some times before. And the courses gets filled up within a minute when it opens. Also the university portal gets so slow because of all the sudents logging in at once for this. even after the university splits the students in 4 different slots and assigns them 4 different dates based on their admission year, it still have 1200+ students assigned for each day and the server can't handle it well and gets too slow.
So I thought if I make this bot, it'll reduce a few seconds of looking through all the options and selecting the courses one by one. The bot would log in, keep looking for the "Next" button in the registration page, if it doesnt find, it will go back to home and wait 10 seconds and go back to registration page and look for next button again in a loop. when it opens, it will look for the correct course and correct class and select the courses for me and play a sound to alert me.

So far I have been succefful until going to the course selection page. But I was hesitant to actually make it select cuz if it clicks on already selected ones, it will unselect my course and make me lose the course and make me go behind an entire semester.

I will drop any further work with this bot because the last time I was confident after coding the click function but my university portal got so slow it logged the bot off and also me on my browser which i kept open for backup if the bot messes up. Then the bot was not able to fill in login form, I made sure it doesn't happen by increasing wait time and it worked previous semester but this time it wasn't putting in the credentials ( it was doing just fine an hour ago before the university opened the pre registration for us at assigned time 4 pm). Took me 3-4 minutes to log in manually again and select the courses, this made me lost 2 courses classes on my planned time, well I was able to choose another different time on the spot. Anyways, now I need to wait 4 months months till next semester to test the bot again. already did that 3 semester and I dont wanna keep doing this anymore. Maybe I will continue, maybe I wont. I'll see to it when next semester comes. Although I think the code is complete so might give it a try again next semester.

course-selector-bot-expressjs-server's People

Contributors

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