Forked from john-hix > Koenvh1
Implemented:
- Will create folders from "pages", for a more familiar navigation.
Not yet implemented:
- Download videos* from links
- Download embedded videos*
- Fix handling of special characters see issue
*Currently only videos from "instructuremedia.com/embed/"
- TODO
Please make sure you can view all resources offline without connecting to a server before calling your import done. This script does not cover all cases! You may need to fix/download things manually!
- Install python 3+ if not already installed.
- Get a access token from your settings page (canvas).
- Run as a script:
python canvas-scraper.py link_to_your_canvas your_access_token output_path course_ids
- For the link, use https! Othervise your token will be sent unecrypted.
- The script fill create the output folder if it does not exist.
- The script will overwrite earlier files that have the same name as what is being written (if run previously in same location)
- For the course_ids, it is the last number in the course homepage link, separate multiple with commas.
- You may need to install missing libraries with
pip install
. (probablypip install canvasapi
)