0.9.9-2
- NEW
single
mode allows the user to download all available files for a single, specified course, even if they're not enrolled in it! This is specially useful to download past files for a year / semester that the user is not enrolled in. Includes specific--help
manual! See the README for details. - Majorly refactored and optimized code to allow modularity and extra commands like
single
with virtually no repeated code! (only +3KB difference in EXE size compared to last version!) - Renamed previous (only) mode to
batch
to accurately distinguish its function fromsingle
. It's still the default mode, as intended. - Changed path from argument to option, to more accurately represent the fact that it's optional and not clash with the parsing for the available commands like
batch
andsingle
. - New
--year
option. - Added course name parsing from ID.
- Added EmptyHTMLException that identifies and correctly exits the program if the query is invalid and/or the server returns an error (that is, a blank page).
- Added exit routine that checks if the program is ran as a script or an executable, and allows the user to press EXIT to quit if it's the latter (rather than simply auto-vanishing when finished...)
- Made reported download time and speed more accurate.
- HOTFIX: New error handler to try to fix Windows-specific exit handling errors.
Full Changelog: 0.9.7...0.9.9