Update Channel.js

This commit is contained in:
Aleksandr Statciuk 2021-08-10 16:52:18 +03:00
parent 5258f4876c
commit 2a60612103

View File

@ -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()