desimaniac / usmle-cal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USMLE Cal

A super quick spin up as a favor to automate a calendar sign up process with Selenium that was too cumbersome with scraper tools like BeautifulSoup.

Setup

Requisite config values can be found in env.dist. Suggested:

cp env.dist env.<YOUR_ENV>.sh

Source these into the environment

source env.<YOUR_ENV>.sh

To get chromedriver for selenium, run:

./setup.sh

Set up a virtual environment of your choice and run

pip install -r requirements.txt

To Run

The below cd could be avoided by adding the location of the chromedriver install to your PATH, but for ease:

cd usmle_cal 
python browser.py

About


Languages

Language:Python 93.4%Language:Shell 6.6%