mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Add user-agent attribute
This commit is contained in:
1 parent
3dcf016ee3
commit
a76c2725ad
1 file changed
+4
@@ -113,6 +113,10 @@ module.exports = class Channel {
|
||||
this.tvg.language || ''
|
||||
}" tvg-logo="${this.logo || ''}"`
|
||||
|
||||
if (this.http['user-agent']) {
|
||||
info += ` user-agent="${this.http['user-agent']}"`
|
||||
}
|
||||
|
||||
info += ` group-title="${this.group.title || ''}",${this.name}`
|
||||
|
||||
if (this.resolution.height) {
|
||||
|
||||
Reference in new issue
Block a user