Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aboueleyes/cms-downloader
- Owner: aboueleyes
- License: gpl-3.0
- Archived: true
- Created: 2020-11-28T11:22:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T19:15:29.000Z (about 3 years ago)
- Last Synced: 2024-05-02T18:50:17.901Z (6 months ago)
- Topics: automation, cli-python-script, cms-downloader, cms-website, guc, university
- Language: Python
- Homepage:
- Size: 1.13 MB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.