mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update sat.tv.test.js
This commit is contained in:
@@ -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
|
// 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')
|
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 date = dayjs.utc('2023-06-26', 'YYYY-MM-DD').startOf('d')
|
||||||
const channel = {
|
const channel = {
|
||||||
site_id: 'السعودية',
|
site_id: '1#38#السعودية',
|
||||||
xmltv_id: 'AlSaudiya.sa',
|
xmltv_id: 'AlSaudiya.sa',
|
||||||
lang: 'ar'
|
lang: 'ar'
|
||||||
}
|
}
|
||||||
@@ -72,7 +72,7 @@ it('can parse response', () => {
|
|||||||
|
|
||||||
it('can parse response in english', () => {
|
it('can parse response in english', () => {
|
||||||
const channel = {
|
const channel = {
|
||||||
site_id: 'Saudi HD',
|
site_id: '1#38#Saudi HD',
|
||||||
xmltv_id: 'AlSaudiya.sa',
|
xmltv_id: 'AlSaudiya.sa',
|
||||||
lang: 'en'
|
lang: 'en'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user