mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 18:10:04 -04:00
Added auto-generated README.md
This commit is contained in:
parent
36060a2f81
commit
1b835f2bca
8 changed files with 370 additions and 2 deletions
|
@ -5,6 +5,7 @@ const axios = require('axios')
|
|||
const zlib = require("zlib")
|
||||
const DOMParser = require('xmldom').DOMParser
|
||||
const urlParser = require('url')
|
||||
const tablemark = require('tablemark')
|
||||
|
||||
const supportedCategories = [ 'Auto','Business', 'Classic','Comedy','Documentary','Education','Entertainment', 'Family','Fashion','Food', 'General', 'Health', 'History', 'Hobby', 'Kids', 'Legislative','Lifestyle','Local', 'Movies', 'Music', 'News', 'Quiz', 'Religious','Sci-Fi', 'Shop', 'Sport', 'Travel', 'Weather', 'XXX' ]
|
||||
|
||||
|
@ -219,6 +220,10 @@ function skipPlaylist(filename) {
|
|||
return false
|
||||
}
|
||||
|
||||
function generateTable(data, options) {
|
||||
return tablemark(data, options)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
parsePlaylist,
|
||||
sortByTitleAndUrl,
|
||||
|
@ -233,5 +238,6 @@ module.exports = {
|
|||
clearCache,
|
||||
validateUrl,
|
||||
skipPlaylist,
|
||||
supportedCategories
|
||||
supportedCategories,
|
||||
generateTable
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue