Giter Site home page Giter Site logo

mdl's Introduction

Momentos Downloader

MDL is a command line tool that allows you to list and download Momentos contents in bulk.

Usage

The mdl tool has three subcommands: login, list, and download. You can learn more about them by running

./mdl --help

Logging into the Momentos

Before accessing Momentos contents, users must be logged into the system. This can be done using the login subcommand.

./mdl login --user [email protected]

Then you will be prompted to enter your password. After a successful login request, mdl will create a local file mdl.toml with your access token. Subsequent commands will read your access token from that file.

Listing Momentos Contents

Use can list their Momentos contents by issuing the following command:

./mdl list

The output consists of a list of pairs <coruse-id> <coruse-name>. The <course-id> will be used to download the course contents.

Downloading Momentos Contents

To download your contents, use the download subcommand and provide the <course-id> of the course you want to download.

./mdl download --id <course-id> --id <second-course-id>

mdl will then create a folder named after your course-id where it will place all the lectures and transcripts from such course.

Building from source

cargo build --release

Development dependencies

  • Rust toolchain
  • A C compiler and linker
  • SSL dev library

The recomended way of installing the Rust toolchain is using rustup. You can find more information here.

The rest of the dependecies can be installed, in Ubuntu, with the following command.

sudo apt install build-essential libssl-dev

mdl's People

Contributors

lmarmol avatar

Watchers

 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.