mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 01:50:04 -04:00
Update scripts
This commit is contained in:
parent
a14ef9181a
commit
970b74aef2
5 changed files with 51 additions and 47 deletions
|
@ -3,19 +3,19 @@ import { Issue } from '../models'
|
|||
import { IssueData } from './issueData'
|
||||
|
||||
const FIELDS = new Dictionary({
|
||||
'Channel ID': 'channel_id',
|
||||
'Channel ID (required)': 'channel_id',
|
||||
'Stream URL': 'stream_url',
|
||||
'Stream URL (optional)': 'stream_url',
|
||||
'Stream URL (required)': 'stream_url',
|
||||
'Broken Link': 'broken_links',
|
||||
'Broken Links': 'broken_links',
|
||||
'Channel ID': 'channelId',
|
||||
'Channel ID (required)': 'channelId',
|
||||
'Stream URL': 'streamUrl',
|
||||
'Stream URL (optional)': 'streamUrl',
|
||||
'Stream URL (required)': 'streamUrl',
|
||||
'Broken Link': 'brokenLinks',
|
||||
'Broken Links': 'brokenLinks',
|
||||
Label: 'label',
|
||||
Quality: 'quality',
|
||||
'Channel Name': 'channel_name',
|
||||
'HTTP User-Agent': 'user_agent',
|
||||
'HTTP User Agent': 'user_agent',
|
||||
'HTTP Referrer': 'http_referrer',
|
||||
'Channel Name': 'channelName',
|
||||
'HTTP User-Agent': 'httpUserAgent',
|
||||
'HTTP User Agent': 'httpUserAgent',
|
||||
'HTTP Referrer': 'httpReferrer',
|
||||
'What happened to the stream?': 'reason',
|
||||
Reason: 'reason',
|
||||
Notes: 'notes',
|
||||
|
|
|
@ -40,7 +40,7 @@ export class PlaylistParser {
|
|||
line: item.line,
|
||||
url: item.url,
|
||||
httpReferrer: item.http.referrer,
|
||||
userAgent: item.http['user-agent']
|
||||
httpUserAgent: item.http['user-agent']
|
||||
})
|
||||
|
||||
streams.add(stream)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue