Giter VIP home page Giter VIP logo

nama_kudasai's Introduction

nama_kudasai

๐Ÿป๐Ÿป๐Ÿป Record livestreams and upload them to Dropbox ๐Ÿป๐Ÿป๐Ÿป

Requirements

ffmpeg

How to Configure

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.

How to Run

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.

Docker

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

Caveats

  • 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.

Future

  • Title filters?

Warning

It is not known what kind of rate limiting or detection YouTube has on this kind of access.

nama_kudasai's People

Contributors

nattofriends avatar nolanlum avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.