Giter Club home page Giter Club logo

dleccap's Introduction

leccap

Download CAEN and LSA-ISS Lecture recordings. Boosted.

Credits to Maxim Aleska for his great work :)

New features

  • Duo 2fa Support !!
  • Concurrent download !
  • configurable concurrency and destination folder
  • Python 3 support

Updates

  • Support 2fa
  • Major code rewritten.
  • Got rid of some unnecessary dependencies

Installation

download and run

cd PATH_TO_DOWNLOADED
pip install -r requirements.txt
python leccap.py COMMANDS

or

through pip

pip install leccap
leccap COMMANDS

Usage

demo using pip installed version. use python leccap.py for downloaded version.

Search lecture

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.

Download lecture

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 :)

Configuration

Update config
leccap config $key $value
Reset config
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)

Development

Please post a issue or pull request if you see bugs or have any suggestions :)

TODOs

  • Better download scheduling method

dleccap's People

Contributors

maxim123 avatar reactivexyz-dev avatar reactivexyz-jackie avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.