mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update Channel.js
This commit is contained in:
parent
5258f4876c
commit
2a60612103
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue