Download CAEN and LSA-ISS Lecture recordings. Boosted.
Credits to Maxim Aleska for his great work :)
- Duo 2fa Support !!
- Concurrent download !
- configurable concurrency and destination folder
- Python 3 support
- Support 2fa
- Major code rewritten.
- Got rid of some unnecessary dependencies
cd PATH_TO_DOWNLOADED
pip install -r requirements.txt
python leccap.py COMMANDS
or
pip install leccap
leccap COMMANDS
demo using pip installed version. use python leccap.py
for downloaded version.
leccap search $class $year?
where class can be a normal catelog number such as eecs281.
year is optional, default to current year, or enter one to download past lectures.
leccap dl $url
where url is in form of either: https://leccap.engin.umich.edu/leccap/site/XXX to download multiple recordings from a course site or https://leccap.engin.umich.edu/leccap/viewer/r/XXX to download a single recording
Removed canvas/ctools support since they seem deprecated, if you want to have those, shoot me an email :)
leccap config $key $value
leccap reset $key
where $key
can be any one of :
logins.username
(umich uniqname)
logins.password
(umich password)
concurrency
(number of downloads at once, default to 5, not recommending 10+, unless you live in a data center with 10Gbps ethernet.)
dest_path
(destination download full path, default to current directory)
all
(everything, for reset only)
Please post a issue or pull request if you see bugs or have any suggestions :)
- Better download scheduling method