downleth-1.2
توضیحات
downleth: Download ETH streams
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | downleth-1.2 |
| نام | downleth |
| نسخه کتابخانه | 1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thomas Gassmann |
| ایمیل نویسنده | thomas@gassmann.dev |
| آدرس صفحه اصلی | https://github.com/thomasgassmann/downleth |
| آدرس اینترنتی | https://pypi.org/project/downleth/ |
| مجوز | MIT |
# Lecture Downloader ETH
Download livestreams, watch livestreams locally (and reliably!)
As always, respect the privacy of the people being recorded and do not publicise anything you record without first requesting permission to do so. `downleth`'s main use case is recording livestreamed lectures and having them immediately available, especially if one is unable to attend lectures in a certain timespan.
## Installation
Install `downleth`:
```bash
pip install downleth
```
Make sure you have `ffmpeg` installed.
## Usage
To schedule a lecture recording based on a config:
```bash
downleth --log-level INFO exec sample-config.json
```
For structuring your configuration file, see `sample-config.json`. There is also a `config.schema.json` JSON schema.
## Development
`pipenv` is used. Use:
```bash
PIPENV_VENV_IN_PROJECT=1 pipenv install
```
The `vscode` task might help you get started with debugging.
## TODO
- Automatically generate configuration file per semester from myStudies, fetch room numbers, etc. automatically
- Allow spinning up local server to watch lectures without web client
- Allow configuring codecs (save storage)
- Automatically cut breaks somehow
- Automatically detect start/end of lecture (might sometimes end a bit later or start a bit earlier)
- Consider holidays
- Use GitHub actions to publish, maybe GitVersion to version it
- Allow downloading recordings form video.ethz.ch
نیازمندی
| مقدار | نام |
|---|---|
| ==22.1.0 | aiofiles |
| ==3.8.1 | aiohttp |
| ==1.2.0 | aiosignal |
| ==4.0.2 | async-timeout |
| ==22.1.0 | attrs |
| ==2.1.1 | charset-normalizer |
| ==8.1.3 | click |
| ==1.3.1 | frozenlist |
| ==3.4 | idna |
| ==1.0.2 | iso8601 |
| ==3.3.0 | m3u8 |
| ==6.0.2 | multidict |
| ==9.0.4 | pyee |
| ==1.0.14 | python-ffmpeg |
| ==2022.2.1 | pytz |
| ==4.3.0 | typing-extensions |
| ==1.8.1 | yarl |
نحوه نصب
نصب پکیج whl downleth-1.2:
pip install downleth-1.2.whl
نصب پکیج tar.gz downleth-1.2:
pip install downleth-1.2.tar.gz