mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update sat.tv.test.js
This commit is contained in:
parent
892612c624
commit
1cb6b7255d
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
// npm run channels:parse -- --config=sites/sat.tv/sat.tv.config.js --output=sites/sat.tv/sat.tv.channels.xml --set=lang:ar
|
||||
// npm run channels:parse -- --config=sites/sat.tv/sat.tv.config.js --output=sites/sat.tv/sat.tv.channels.xml --set=lang:ar --set=satSatellite:1 --set=satLineup:38
|
||||
// npx epg-grabber --config=sites/sat.tv/sat.tv.config.js --channels=sites/sat.tv/sat.tv.channels.xml --output=guide.xml
|
||||
|
||||
const { parser, url, request } = require('./sat.tv.config.js')
|
||||
|
@ -12,7 +12,7 @@ dayjs.extend(utc)
|
|||
|
||||
const date = dayjs.utc('2023-06-26', 'YYYY-MM-DD').startOf('d')
|
||||
const channel = {
|
||||
site_id: 'السعودية',
|
||||
site_id: '1#38#السعودية',
|
||||
xmltv_id: 'AlSaudiya.sa',
|
||||
lang: 'ar'
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ it('can parse response', () => {
|
|||
|
||||
it('can parse response in english', () => {
|
||||
const channel = {
|
||||
site_id: 'Saudi HD',
|
||||
site_id: '1#38#Saudi HD',
|
||||
xmltv_id: 'AlSaudiya.sa',
|
||||
lang: 'en'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue