Skip to content

Download entire course content from moodle (for HIT students)

License

Notifications You must be signed in to change notification settings

ItaiShek/hit-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General info

hit-dl is a software meant for HIT students, to download an entire course from moodle for offline reading.

Usage

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

Installation

Linux

Method 1: Using curl

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

Method 2: Using wget

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

Method 3: Direct download

Download it from here.

Method 4: Clone repository

Requires: python >= 3.6

git clone https://github.com/ItaiShek/hit-dl.git && cd hit-dl
python -m pip install -r requirements.txt
Windows

Direct download

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.

About

Download entire course content from moodle (for HIT students)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published