Update Channel.js
This commit is contained in:
@@ -22,6 +22,11 @@ module.exports = class Channel {
|
|||||||
this.languages = this.parseLanguages(data.tvg.language)
|
this.languages = this.parseLanguages(data.tvg.language)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateUrl(url) {
|
||||||
|
this.url = url
|
||||||
|
this.data.url = url
|
||||||
|
}
|
||||||
|
|
||||||
parseName(title) {
|
parseName(title) {
|
||||||
return title
|
return title
|
||||||
.trim()
|
.trim()
|
||||||
|
Reference in New Issue
Block a user