Giter VIP home page Giter VIP logo

ffandown-helper's Introduction

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?

npm install oimi-helper

Example

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),
    )
    // parser live
    oi.parserUrl('3- #在抖音,记录美好生活#【luckincoffee瑞幸咖啡】正在直播,来和我一起支持Ta吧。复制下方链接,打开【抖音】,直接观看直播! https://v.douyin.com/ib3UfqM/').then((res) => {
        console.log(res)
    }).catch(err => console.log(err))
})

ffandown-helper's People

Contributors

helson-lin 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.