Giter VIP home page Giter VIP logo

vodtwitch's Introduction

vodtwitch

Download any public vod from Twitch

npm version license

Install

npm i -g vodtwitch
# pnpm add -g vodtwitch

Usage

CLI

# with VOD ID
$ vodtwitch 787450673

# private VOD using your OAuth token taken from Twitch when logged in
$ vodtwitch --token 0aze9batw2zc2tj29nl4mywkqgb1kn 787450673

# you can specify an output directory
$ vodtwitch 787450673 -o my/best/vods

# also works with VOD URL
$ vodtwitch https://www.twitch.tv/videos/787450673

# more command options
$ vodtwitch -h

It will save to your current directory as {vodID}.ts.

NodeJS

import vodtwitch from "vodtwitch";

async function main() {
  await vodtwitch(787450673, { outputDir: process.cwd() });
}

main().catch(console.error);

vodtwitch's People

Contributors

lucasriondel avatar matschik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vodtwitch's Issues

How to get 1080p?

Hey!

Thanks for making this. Tried using it but just got the 720p version of a VOD but looking at twitch.tv it has a 1080p version too.

How can I make this script download the 1080p version?

Video missing a chunk

Hi there. Thanks for making this nifty tool :)

So I downloaded a livestream video 15 minutes after it had ended. I got a video but it was missing the ending 13 minutes.
Should I wait for longer before downloading the video?

discontinuityStarts

Hi, I tried to download the vod and the 'discontinuidadeStarts' pointed to the last part of m3u8. I didn't understand why the download only starts from the 'discontinuityStarts'. I'm new to the subject of downloading streams

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.