Skip to content

PostsDesert/WebAssignHW

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssignHW

Scrapes Webassign and outputs ics file of homework due

Webassign doesn't provide a proper way to get a iCal file or link to export your assingments. This script scrapes Webassign for your courses and homework to exports it to an iCal file. The idea is for this script to run daily and the iCal file to be hosted on a server. With the link, you can sync it to Google Calendar for example to get an updated schedule of your assignments.

This uses Selenium and Google Chrome (although you can use any webdriver) as well as the dateutil and ics module. Due to complications in parsing, time zone for this version requires you to specify the time zone to interpret

You must create an account.key file for the script to read the information off of, which just contains four lines

auth_url=https://www.webassign.net/wa-auth/login
homepage_url=https://www.webassign.net/v4cgi/student.pl
user=[YOUR EMAIL]
pass=[YOUR PASSWORD]
timezone=[YOUR TIMEZONE]
directory=[DIRECTORY_TO_SAVE_IN]

URL arguments are included in case they change.

About

Scrapes Webassign and outputs ics file of homework due

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%