Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.17 KB

README.md

File metadata and controls

37 lines (20 loc) · 1.17 KB

tuber - tube.tugraz.at downloader

requirements

the download script is written using bash syntax and expects jq, htmlq and curl on the PATH.

docker

if you want to use tuber without polluting your PATH you might want to use the docker container.

using it to download

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)

example using docker

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

example without docker

to download analysis 1 to the current directory

USER=your_user PASS=your_pass COURSE=4636c0b6-71a8-45f1-bc6a-ea850f46175e /path/to/tuber.sh

Nix (with flakes)

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