mirror of
https://github.com/iptv-org/iptv
synced 2025-12-23 05:46:53 -05:00
test
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user