mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update parser.js
This commit is contained in:
parent
88eec20244
commit
39ab38d277
1 changed files with 0 additions and 7 deletions
|
@ -5,13 +5,6 @@ const file = require('./file')
|
|||
|
||||
const parser = {}
|
||||
|
||||
parser.parseIndex = function () {
|
||||
const content = file.read('index.m3u')
|
||||
const result = playlistParser.parse(content)
|
||||
|
||||
return result.items
|
||||
}
|
||||
|
||||
parser.parsePlaylist = async function (url) {
|
||||
const content = file.read(url)
|
||||
const result = playlistParser.parse(content)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue