UNPKG

oimi-helper

Version:

this is a helper for ffandown

30 lines (21 loc) 612 B
# oimi-helper this package is server for ffandown ## What is this??? This is an FFandDown dependency package that can be used to download and stream live websites using m3u8 playlists. ## How to use? ```bash npm install oimi-helper ``` ## Example ```js const oi = new Oimi('media') oi.ready().then(() => { // download m3u8 const url = 'https://s8.fsvod1.com/20230524/bW0SZkHJ/index2.m3u8' oi.createDownloadMission({ name: 'example', url, outputformat: 'mp4' }).then(() => { console.log('download success') }).catch(e => console.log('download failed:' + e), ) }) ```