Update scripts

This commit is contained in:
freearhey
2023-11-01 05:38:07 +03:00
parent 4ed6791392
commit 03a228f161
6 changed files with 27 additions and 5 deletions

View File

@@ -10,6 +10,8 @@ const FIELDS = new Dictionary({
'Broken Link': 'stream_url',
Label: 'label',
Quality: 'quality',
Timeshift: 'timeshift',
'Timeshift (optional)': 'timeshift',
'Channel Name': 'channel_name',
'HTTP User-Agent': 'user_agent',
'HTTP Referrer': 'http_referrer',

View File

@@ -40,7 +40,8 @@ export class PlaylistParser {
line: item.line,
url: item.url,
httpReferrer: item.http.referrer,
userAgent: item.http['user-agent']
userAgent: item.http['user-agent'],
timeshift: item.tvg.shift
})
streams.add(stream)