Update parser.js

This commit is contained in:
Aleksandr Statciuk 2021-09-08 21:33:50 +03:00
parent 88eec20244
commit 39ab38d277
1 changed files with 0 additions and 7 deletions

View File

@ -5,13 +5,6 @@ const file = require('./file')
const parser = {} const parser = {}
parser.parseIndex = function () {
const content = file.read('index.m3u')
const result = playlistParser.parse(content)
return result.items
}
parser.parsePlaylist = async function (url) { parser.parsePlaylist = async function (url) {
const content = file.read(url) const content = file.read(url)
const result = playlistParser.parse(content) const result = playlistParser.parse(content)