the download script is written using bash syntax and expects jq, htmlq and curl on the PATH.
if you want to use tuber without polluting your PATH you might want to use the docker container.
tuber expects some environment variables:
- USER and PASS contain the credentials to logon to tube.tugraz.at
- COURSE contains the course-uuid to download
- RESOLUTION contains the quality to download (defaults to 1920x1080 if left unset)
you can use the prebuilt image from dockerhub to download analysis 1 to /tmp
docker run --rm -v /tmp:/data -e USER=your_user -e PASS=your_pass -e COURSE=4636c0b6-71a8-45f1-bc6a-ea850f46175e daef/tuber
to download analysis 1 to the current directory
USER=your_user PASS=your_pass COURSE=4636c0b6-71a8-45f1-bc6a-ea850f46175e /path/to/tuber.sh
to download analysis 1 to the current directory run
USER=your_user PASS=your_pass COURSE=4636c0b6-71a8-45f1-bc6a-ea850f46175e nix run github:daef/tuber