Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.1 KB

readme.md

File metadata and controls

44 lines (29 loc) · 1.1 KB

Canvas File Downloader

Simple file downloader for Canvas of Instructure.

Features:

  • Downloads all courses or only the ones marked as favorites
  • Download from Modules, Files or both
  • If a file already exists, it's omitted
  • If a Google Drive file is linked, it will be downloaded

Usage:

First, download the requirements with:

python -m pip install -r requirements.txt

then, run the module with:

python canvas.py YOUR-TOKEN CANVAS-DOMAIN

Where:

  • YOUR-TOKEN is the token access of Canvas, generated here.
  • CANVAS-DOMAIN the Canvas domain where files will be downloaded.

Optional parameters:

  • -f FROM: where to download the files, can be modules, folders or both (default: both).
  • -o DIR: name of the output directory (default: CanvasFiles).
  • --all: include all courses instead of only favorites.

Related projects: