Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.46 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.46 KB

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