This is a rewrite of https://github.com/alkerway/copylivemanifest, with the goal being to make the code more simple and declarative. A look at src/main.ts should give a declarative overview of how the program runs.
DVRs a given level manifest by polling and downloading fragments for a given amount of time, constructing an updating event-type playlist.
Quickly downloads a given level manifest by concurrently downloading a configurable number of frags at once, but still keeps the order and updates so that one can watch the video as a live manifest while it's downoading.
- Have node installed
- Create an empty manifest directory in the project root
- Specify the level url and download time in src/utils/config.ts
- run npm start