mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-17 12:30:03 -04:00
test
This commit is contained in:
parent
d0962b4f48
commit
b8413d054e
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ const utils = require('./utils')
|
|||
const categories = require('./categories')
|
||||
const path = require('path')
|
||||
|
||||
const sfwCategories = categories.filter(c => !c.nsfw).map(c => c.name)
|
||||
const nsfwCategories = categories.filter(c => !c.nsfw).map(c => c.name)
|
||||
const nsfwCategories = categories.filter(c => c.nsfw).map(c => c.name)
|
||||
|
||||
const parser = {}
|
||||
|
@ -232,7 +232,7 @@ class Channel {
|
|||
}
|
||||
}
|
||||
|
||||
isSFW() {
|
||||
isNSFW() {
|
||||
return sfwCategories.includes(this.category)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue