🍻🍻🍻 Record livestreams and upload them to Dropbox 🍻🍻🍻
ffmpeg
Copy config.yaml.example
to config.yaml
and fill in the values.
Get a dropbox_api_access_token
from https://dropbox.tech/developers/generate-an-access-token-for-your-own-account.
Create a virtualenv and install requirements.txt
into it.
Use cron
to run nama_kudasai.py
in the virtualenv every so often. It will spawn downloaders as appropriate. The downloaders will upload the archives to channel directories under the nama_kudasai
directory in Dropbox.
Mount a volume at /data
containing config.yaml
and directories named work
and logs
. This directory will be used as a temp download store so pick somewhere with a moderate amount of disk space.
Example:
docker run -d --name nama_kudasai --volume /home/nama_kudasai:/data nolanlum:nama_kudasai
- Live rewinding is currently broken in Streamlink, the software used to download the stream. If a stream starts before a downloader is started for it, the past segments of the stream are not saved, even if they are viewable from YouTube itself at the time. See streamlink/streamlink#2936 for more details.
- Downloader logs go to the
logs/
folder and there is no good way to surface if something abnormal has happened.
- Title filters?
It is not known what kind of rate limiting or detection YouTube has on this kind of access.