Code Monkey home page Code Monkey logo

hls-fetcher's People

Contributors

bcdarius avatar brandonocasey avatar forbesjo avatar gkatsev avatar greenkeeper[bot] avatar imbcmdth avatar misteroneill avatar mjneil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hls-fetcher's Issues

broken because of `cwd`

the streamToDisk function expects to have cwd available but the function is defined outside of getIt which declared and sets the cwd variable.

ENAMETOOLONG: name too long

New name?

Now that this supports fetching DASH as well, what should we call hls-fetcher?

Clean URIs before saving

Some systems use query parameters in their playlist and segment URIs. We then end up saving these files with the query parameter as part of the filename. This breaks most web-servers.

Acceptance Criteria

  • Clean URIs so that only the based filename is used when saving to the disk

Optional

  • Add a switch that lets you toggle between saving a playlist with/without query parameters in the URIs (file names will still be "cleansed")

Fetch I-Frame manifests as well

With a manifest file that includes I-Frame directives like #EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=0,BANDWIDTH=249700,CODECS="mp4a.40.2,avc1.42000d",RESOLUTION=384x216,URI="https://manifest.prod.boltdns.net/manifest/v1/hls/v4/clear/4863540648001/911d0874-15ae-4001-8397-70ca3ab91e57/5a9d11e4-8286-422c-970b-f3d9556b9f32/iframe.m3u8?", hls-fetcher does not parse and download & rewrite the I-Frame manifest files. However, it should

Decrypt protected segments before saving

Acceptance Criteria

If a segment has encryption information:

  • Fetch the decryption key
  • Decrypt contents of the segment
  • Save decrypted results to disk
  • Remove key information from manifest before saving

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.