Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aboueleyes/cms-downloader

A CLI python script that downloads the material of any course hosted on the cms website
https://github.com/aboueleyes/cms-downloader

automation cli-python-script cms-downloader cms-website guc university

Last synced: 3 months ago
JSON representation

A CLI python script that downloads the material of any course hosted on the cms website

Awesome Lists containing this project

README

        

# CMS-downloader
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/60b8e0742c4044d6b35eb7e27ecb7a4b)](https://app.codacy.com/gh/aboueleyes/cms-downloader?utm_source=github.com&utm_medium=referral&utm_content=aboueleyes/cms-downloader&utm_campaign=Badge_Grade_Settings)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)

A CLI python script that automates downloading the material of any course hosted on the cms website. also organizes the content in weeks.

## Installation
Clone the repo and install dependencies with python package manger pip

```bash
git clone https://github.com/aboueleyes/cms-downloader.git
cd cms-downloader/
sudo pip3 install -r requirements.txt
```
For Windows
```bash
pip install -r requirements.txt
```

## Usage
For *GIU* students run this command first
```bash
sed -i 's/^# //' src/constants.py
```
Run in interactive mode
```bash
python3 main.py
```
For help
```bash
python3 main.py -h
```
Download all PDF files for all courses
```bash
./main.py -p
```
Download every single file including videos for all courses
```bash
./main.py -a
```
Run in interactive mode but display only new items
```bash
./main.py -f
```
Display all announcements for all courses
```bash
./main.py -n
```
## Features
1. Parallel downloading
2. In interactive mode you can use regular expressions in search

3. Select more than option by Pressing \

## Contribution
For any feedback or issues, feel free to open an issue, make sure to keep it as detailed as possible.

If you would like to contribute, feel free to fork the repo, and open a PR. However, please create an issue first with the feature/bug-fix you would like to implement, since it might be in-work already.

## DISCLAIMER
This script is not official, It is simply a personal script shared for educational purposes only.