Metadata-Version: 2.1
Name: mlrd
Version: 0.1.2
Summary: Mcgrill Lecture Recording Download (mlrd) tool
Home-page: https://github.com/brendan-kellam/mlrd
License: MIT
Author: Brendan
Author-email: bshizzle1234@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: requests (>=2.25.0,<3.0.0)
Project-URL: Repository, https://github.com/brendan-kellam/mlrd
Description-Content-Type: text/x-rst

mlrd
====
[![PyPi version](https://pypip.in/v/mlrd/badge.png)](https://pypi.org/project/mlrd/)

A command line tool for downloading MyCourses lectures.

## Responsible use & copyright warning
> **Before using this tool, read the [university's responsible IT use document](https://www.mcgill.ca/secretariat/files/secretariat/responsible-use-of-mcgill-it-policy-on-the.pdf).**

> **Additionally:: DO NOT SHARE DOWNLOADED LECTURES, THIS IS A BREACH OF THE PROFESSOR'S/UNIVERSITIES COPYRIGHT.**

## Prerequisites
- [Python 3.8+](https://www.python.org/downloads/)
- [ffmpeg](https://ffmpeg.org/download.html)

## Usage
After installation, run the following command in your terminal:
```
mlrd <course_id> <output_dir> <auth_token>
```

This will download all lectures for the given course to your directory of choice. The `<course_id>` and `<auth_token>` can be found by:
1. navigating to desired course's lecture recording page on MyCourses.
2. right click > inspect.
3. ctrl/cmd + f and search for `HF_CourseId` and `HF_JWT`. The values of these elements correspond to the `<course_id>` and `<auth_token>`.
