Code Monkey home page Code Monkey logo

hls-recorder's Introduction

SNH48 Live

SNH48 Live

This repository hosts technical documentation and helpers for the SNH48 Live YouTube channel.

Check snh48live.org for more resources.

Docs

  • about.md: general description of the channel.
  • video-source.md: technical info on how videos on the channel are extracted, and qualities thereof.
  • config.md: tool configurations documention.

Data

  • videos.txt: short list of all content videos (channel info videos are not included).
  • data/videos/*.json: metadata of content videos directly from YouTube API v3.
  • partially-blocked.txt: short list of videos that are blocked in some countries (see claims.md for details). To get around region blocks, use a VPN service, e.g. Private Internet Access.
  • claims.md: list of videos and their associated copyright claims.
  • claims.json: list of videos and their associated copyright claims, in JSON format.
  • performances.json: a streamable line-oriented JSON data store of metadata of performances, used for snh48live.org/filter.
  • attendance.txt: human-readable attendance sheet (compiled by myself, might contain mistakes).
  • attendance.json: structured version of attendance.txt for machine consumption.

Helpers

Helpers depend on Python 3.6+ and Zsh 5.0+.

  • download: the heart and soul of this channel. Downloads a VOD from live.snh48.com, then optionally uploads it to the channel.
  • extract-claims: extract video info and associated copyright claims from a YouTube copyright claims page, and automatically populate related datastores.
  • fetch-metadata: fetch metadata of all content videos.
  • fetch-schedule: fetch and format schedule data from https://snh48live.org/schedule/; helper for new-config.
  • new-config: generate download/upload configuration for a new performance.
  • new-attendance-entry: automatically populate as much of a new attendance sheet entry as possible.
  • parse-attendance-sheet: convert attendance.txt into attendance.json.
  • performers: retrieve performers lists from official streaming site.
  • post-to-tumblr: cross-post to Tumblr โ€” a healthy dose of SEO and discoverability shenanigans doesn't hurt, right?
  • qa: basic quality assurance on Python source code.
  • record-performance: record performance metadata into performances.json.
  • searchrank: find this channel and its videos among the top 50 SNH48-related search results. Purely for bragging rights.
  • stats: fetch and display channel analytics data.
  • stats-monitor: run stats periodically, print and log results.
  • tweet: tweet to Twitter.
  • thumbnail: generate custom thumbnails.
  • update-metadata: update metadata of videos in various ways (check the subcommands).
  • upload: YouTube video uploader (WIP).

hls-recorder's People

Contributors

zmwangx avatar

Stargazers

 avatar  avatar

Watchers

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