dylanhawley / class-web-scraper

Web-scraper used to log into ONE.UF, check class availability, and send student a text when there's an opening.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class Web Scraper

HitCount

Node.js powered webscraper that scans ONE.UF for available seats in class sections during registration period. This software was not originally open-sourced, until I received this email:

The University of Florida has established a mandatory date for all students to enroll in multi-factor authentication: June 22, 2020.

Multi-factor authentication prevents web-scrapers such as this one from logging into web portals on its own behalf. Therefore, this software will become obsolete effective the date mentioned in the email above.

Setup

Make sure you have Node.js installed on your computer.

Install all of the node dependencies by running the following command in the main directory

npm install

Create a new file named config.js in the main directory. This file will hold all sensitive information such as ONE.UF login information as well as API keys. The contents of this file should look like the sample below.

module.exports = {
    user: {
        username: 'YOUR_EMAIL_HERE', 
        password: 'YOUR_PASSWORD_HERE',
        phone: '+1YOUR_PHONE_NUMBER'
    },
    aws: {
        accessKeyId: 'YOUR_ACCESS_KEY_ID',
        secretAccessKey: 'YOUR_SECRET_ACCESS_KEY',
    }
};

Starting the Server

Start the Node.js program with this command

npm start

About

Web-scraper used to log into ONE.UF, check class availability, and send student a text when there's an opening.


Languages

Language:JavaScript 100.0%