Skip to content

fbritoferreira/m3u8-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m3u8 playlist parser

Examples

Filtered Playlist

const manifest = await Deno.readTextFile("playlist.m3u");
const m3u8Parser = new M3U8Parser(manifest);
const UK = m3u8Parser.getPlaylistByGroup("UK");
await Deno.writeTextFile("test.m3u", m3u8Parser.write(UK));