Skip to content

A python script to convert PCR homework assignments to plain text.

Notifications You must be signed in to change notification settings

snsn/hwparser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

hwparser.py

hwparser.py is a simple python script to parse the HTML source of the PCR PoS (aka the new HHMS). It requires Beautiful Soup, a python library for pulling data out of HTML and XML files. To install BS4 with pip:

pip install beautifulsoup4

Usage

Authenticate, then go to the week you want to parse. Make sure that you are in weekly view. Save the source of the page. Then, run

python hwparser.py /path/to/source.html out.txt

A file called out.txt will be written with the date each assignment is due, the class, and the details of the assignment.

About

A python script to convert PCR homework assignments to plain text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published