mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-14 11:00:03 -04:00
Update parser.js
This commit is contained in:
parent
ed60663c88
commit
246d4a9b48
1 changed files with 1 additions and 3 deletions
|
@ -214,9 +214,7 @@ class Channel {
|
||||||
toString(raw = false) {
|
toString(raw = false) {
|
||||||
if (raw) return this.raw + '\n'
|
if (raw) return this.raw + '\n'
|
||||||
|
|
||||||
const info = this.getInfo()
|
return '#EXTINF:' + this.getInfo() + '\n' + this.url + '\n'
|
||||||
|
|
||||||
return '#EXTINF:' + info + '\n' + this.url + '\n'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
toObject() {
|
toObject() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue