https://github.com/ignacio-gn/live.rbg.tum_streamcapture
Capture livestreams from TUM and store them locally
https://github.com/ignacio-gn/live.rbg.tum_streamcapture
Last synced: about 1 year ago
JSON representation
Capture livestreams from TUM and store them locally
- Host: GitHub
- URL: https://github.com/ignacio-gn/live.rbg.tum_streamcapture
- Owner: ignacio-gn
- Created: 2022-10-18T09:31:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-20T07:07:55.000Z (over 3 years ago)
- Last Synced: 2023-09-29T19:28:53.258Z (over 2 years ago)
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# live.rbg.tum streamcapture
*Capture livestreams from TUM and store them locally*
## Dependencies
This tool uses bash and Python v3.10 or later.
### Python dependencies
- Selenium 4.3.0
- youtube-dl 2021.12.17
### Other dependencies
- Firefox
- geckodriver
## Installation
After installing all necessary dependencies, write a JSON file at ./secrets.json containing the values for the following keys:
- username: [tum username]
- password: [tum password]
Example file:
{
"username": "tu00usr",
"password": "mypassword"
}
## Setup
Make sure to set the following important environment variables:
- GECKODRIVER_PATH: Default is "/Library/Frameworks/Python.framework/Versions/3.10/bin/geckodriver"
- COURSE_MAP: Courses with the given class name as to be found on live.rbg.in.tum.de
## Usage
Details on flags can be found with the -f option.
Output is stored on ./output with the date and time of the recording as filename and on .mp4 format.
## Misc
TODO