Skip to content

akiicat/twitch-downloader

Repository files navigation

Twitch Downloader

Use Twitch API To Download Vedio and Chat.

Bundle

install rest-client gem.

bundle install

or

sudo gem install 'rest-client'

Download

ruby download.rb --help
ruby download.rb https://www.twitch.tv/user_name/v/xxxxxxxx
ruby download.rb xxxxxxxx

Downloaded file types

  • m3u: vod quality list
  • m3u8: vod chunked list
  • ts: video file
  • txt: vod chat list
  • json: json file for all chat data

Concat Ts Files

if you want to concat different part of ts files

ruby ts_concat.rb <output.ts> <input1.ts> <input2.ts> ...

Get Muted List

usage:

$ ruby mute_list.rb input.m3u8
00:00:00      0.000 +
01:14:00   4440.000 -
01:22:00   4920.000 +
02:38:00   9480.000 -
02:46:00   9960.000 +

About

tools for twitch vod downloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages