Giter Site home page Giter Site logo

ttv-vod-downloader's Introduction

TwitchTV VOD downloader

The downloader support new HLS video format (only). Example url with HLS broadcast: http://www.twitch.tv/mushisgosu/v/9794595

Latest builds: Windows

Script realise asynchronous downloading of video chunks. This method is really faster than sequential downloading by ffmpeg. Broadcasts will be downloaded in separate folders ./{channel_name}/{vod_id}/ in a {vod_id}.ts file, info.txt with json info and _finished file if downloading has been finished. Later you can easily convert *.ts files in another with ffmpeg.

Usage

python ttv-vod-downloader.py [-h] [-i ID [ID ...] | -n NAME] [-r] [-t NUM]
                             [-p PATH] [--max_cache_size SIZE]
                             [--urls_file FILE]
                             [URL]

Download Twitch broadcasts by url or ids list or all vods from specific
channel.

positional arguments:
  URL                   an twitch vod url, ignore other arguments if declared

optional arguments:
  -h, --help            show this help message and exit
  -i ID [ID ...], --ids ID [ID ...]
                        download vods by twitch ids
  -n NAME, --channel_name NAME
                        download all available vods by twitch channel name
  -r, --reload          ignore finished broadcasts, if _finished file exists
                        (default: False)
  -t NUM, --threads NUM
                        number of downloading threads (default: 4)
  -p PATH, --path PATH  path to directory where to save broadcasts
  --max_cache_size SIZE
                        maximal size of cache list, 1 corresponds to ~1MB
                        (default: 100)
  --urls_file FILE      path to file with a list of urls, one per line.

Using examples

python ttv-vod-downloader.py http://www.twitch.tv/guit88man/v/11188942

python ttv-vod-downloader.py -r -n mushisgosu

python ttv-vod-downloader.py -i 9794595 9558360 9551422

python ttv-vod-downloader.py --url_file best_vods.txt

Credits

Special thanks:

  • Tester who wants to remain anonymous.

You can also help me by donating some money: PayPayl donate button

ttv-vod-downloader's People

Contributors

tausackhn avatar

Stargazers

 avatar  avatar

Watchers

 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.