0.2.1 • Published 4 years ago

xecus-twitter-video v0.2.1

Weekly downloads
22
License
SEE LICENSE IN LI...
Repository
github
Last release
4 years ago

twitter-video-downloader

This is the Typescript implementation of h4ckninja/twitter-video-downloader.

Installation

npm install xecus-twitter-video --save

This project uses ffmpeg to download M3U8 files, so you should ensure that ffmpeg has been installed.

usage

import Downloader from 'xecus-twitter-video';

let debugFlag: boolean = true;

let downloader: Downloader = new Downloader(debugFlag);

downloader.download('twitterID here', 'path Here');

It will return a Promise, so you can use .then() or async/await to handle the downloaded file.

let filename: string = await downloader.download('1207958103641034758', '/home/xecus/video/');
0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago