xecus-twitter-video
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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/');

Readme

Keywords

none

Package Sidebar

Install

npm i xecus-twitter-video

Weekly Downloads

0

Version

0.2.1

License

SEE LICENSE IN LICENSE

Unpacked Size

20.3 kB

Total Files

7

Last publish

Collaborators

  • xecus