hit-dl is a software meant for HIT students, to download an entire course from moodle for offline reading.
usage: hit-dl -u USERNAME -p PASSWORD URL [URL1 URL2...]
e.g.: hit-dl -u student -p pass123 https://md.hit.ac.il/course/view.php?id=12345
positional arguments:
URL the course/s url/s you want to download
optional arguments:
-h, --help show this help message and exit
-u, --username your moodle username
-p, --password your moodle password
-v, --verbose print debugging information
-r, --robots-txt disobey ROBOTS.txt
-a, --user-agent override the default user agent
-c, --cookies-disabled disable cookies
Linux
sudo curl -L https://github.com/ItaiShek/hit-dl/releases/download/v1.0.0/hit-dl -o /usr/local/bin/hit-dl
sudo chmod a+rx /usr/local/bin/hit-dl
sudo wget https://github.com/ItaiShek/hit-dl/releases/download/v1.0.0/hit-dl -O /usr/local/bin/hit-dl
sudo chmod a+rx /usr/local/bin/hit-dl
Download it from here.
Requires: python >= 3.6
git clone https://github.com/ItaiShek/hit-dl.git && cd hit-dl
python -m pip install -r requirements.txt
Windows
Download it from here.
You can use the run script instead of using the software from the terminal, just make sure it's in the same folder as "hit-dl.exe".
Add the file to any folder except "C:\Windows\System32", and add it to PATH, in order to run the software from any folder.