mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 19:18:28 -04:00
Update Channel.js
This commit is contained in:
1 parent
b75d790e02
commit
e4b697b229
1 file changed
+5
@@ -22,6 +22,11 @@ module.exports = class Channel {
|
||||
this.languages = this.parseLanguages(data.tvg.language)
|
||||
}
|
||||
|
||||
updateUrl(url) {
|
||||
this.url = url
|
||||
this.data.url = url
|
||||
}
|
||||
|
||||
parseName(title) {
|
||||
return title
|
||||
.trim()
|
||||
|
||||
Reference in new issue
Block a user