udemy-backup

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 17 Imported by: 0

README

A backup tool for Udemy contents

In a nutshell, udemy-backup downloads videos and related assets, and store them all in a folder for offline consumption.

Usage

Getting Started

The tool is a go binary, you can install it using go get:

$ go get -u github.com/ushu/udemy-backup

and then use the tool to perform backups:

$ udemy-backup backup
Setup for development

Clone the repo and use go dep to fetch dependencies:

# clone the project into your GOPATH, then:
$ go get

to run the updated version

# clone the project into your GOPATH, then:
$ go run .

and to install your development version locally

# clone the project into your GOPATH, then:
$ go install .

Usage

Enter your Udemy credentials and follow the instructions:

$ udemy-backup 
Email: xxx@gmail.com
Password: •••••••
Re-downloading elements

By default, udemy-backup will skip already-downloaded files. To force a re-download of all the assets, one can do:

$ udemy-backup -r
Download all the courses

The -a flag triggers a backup for all the course associated with the account:

$ udemy-backup -a

Contributing

PR are welcome anytime, please consult the TODO section below for a basic roadmap, or feel free to add any funcionality you might feel necessary.

License

This project is licensed under the MIT License - see the LICENSE file for details

TODO

  • Add backup for slides
  • Add backup for quiz
  • Add backup for practice

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL