1.0.1 • Published 8 years ago

m3u8_to_mpegts v1.0.1

Weekly downloads
13
License
MIT
Repository
github
Last release
8 years ago

LIVE-HLS-FETCHER (JS ONLY)

A simple CLI tool to fetch an entire hls manifest and it's segments and save it all locally.

Installation

npm install m3u8_to_mpegts

Usage

Then on your main file you run this

Example

var tsFetcher = require('m3u8_to_mpegts');

tsFetcher({
	    uri: "http://api.new.livestream.com/accounts/15210385/events/4353996/videos/113444715.m3u8",
	    cwd: "destinationDirectory",
	    preferLowQuality: true,
    }, 
   function(){
	   console.log("Download of chunk files complete");
   }
);

Special thanks to:

Tenacex for making it live

and

imbcmdth for creating hls-fetcher.