mirror of
https://github.com/iptv-org/epg
synced 2026-04-04 10:01:32 -04:00
Test: ```sh npm test -- virgintvgo.virginmedia.com > test > run-script-os virgintvgo.virginmedia.com > test:win32 > SET "TZ=Pacific/Nauru" && npx jest --runInBand virgintvgo.virginmedia.com PASS sites/virgintvgo.virginmedia.com/virgintvgo.virginmedia.com.test.js √ can generate valid url (3 ms) √ can parse response (1028 ms) √ can handle empty guide (1 ms) Test Suites: 1 passed, 1 total Tests: 3 passed, 3 total Snapshots: 0 total Time: 4.181 s, estimated 5 s Ran all test suites matching /virgintvgo.virginmedia.com/i. ``` Grab: ```sh npm run grab -- --site=virgintvgo.virginmedia.com > grab > npx tsx scripts/commands/epg/grab.ts --site=virgintvgo.virginmedia.com starting... config: output: guide.xml maxConnections: 1 gzip: false site: virgintvgo.virginmedia.com loading channels... found 238 channel(s) run #1: [1/476] virgintvgo.virginmedia.com (en) - 138 - Dec 14, 2024 (8 programs) [2/476] virgintvgo.virginmedia.com (en) - 138 - Dec 15, 2024 (8 programs) ... [475/476] virgintvgo.virginmedia.com (en) - 195 - Dec 15, 2024 (39 programs) [476/476] virgintvgo.virginmedia.com (en) - 195 - Dec 14, 2024 (40 programs) saving to "guide.xml"... done in 00h 08m 57s ``` Signed-off-by: Toha <tohenk@yahoo.com>
149 lines
6.2 KiB
JSON
149 lines
6.2 KiB
JSON
{
|
|
"duration": 21600,
|
|
"entries": [
|
|
{
|
|
"channelId": "1958",
|
|
"events": [
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734179700,
|
|
"hasReplayTV": false,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F16298951~~2FEP012911720224,imi:36a6bdc9c192673d8205be38402082c4770c34ab",
|
|
"mergedId": "8162912|en-GB",
|
|
"replayAvailabilityEnd": 1734179700,
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734176100,
|
|
"title": "Police Interceptors"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734183300,
|
|
"hasReplayTV": false,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F16458103~~2FEP012911720227,imi:a12a943b19f4f3e587ca3d75d36cfb3b3cc73bb5",
|
|
"mergedId": "8162912|en-GB",
|
|
"replayAvailabilityEnd": 1734183300,
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734179700,
|
|
"title": "Police Interceptors"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734186900,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F16701376~~2FEP012911720230,imi:911091e999d0162bcffddeb766ab0dcf76cad914",
|
|
"mergedId": "8162912|en-GB",
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734183300,
|
|
"title": "Police Interceptors"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734190500,
|
|
"hasReplayTV": false,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F22539437~~2FEP037839440009,imi:081aafd95b4518fa310a5a93914d4450f22f9a85",
|
|
"mergedId": "19579687|en-GB",
|
|
"replayAvailabilityEnd": 1734190500,
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734186900,
|
|
"title": "Motorway Cops: Catching Britain's Speeders"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734194100,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F23046341~~2FEP037839440020,imi:9a632e03121f5f2567112c9f331e5ea96f64d6d4",
|
|
"mergedId": "19579687|en-GB",
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734190500,
|
|
"title": "Motorway Cops: Catching Britain's Speeders"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734197700,
|
|
"groupedEventIdFirstPart": "crid:~~2F~~2Fgn.tv~~2F40090~~2FMV002875650000~~2F1,imi:191d69d4592b3a45a562ec1f90538654ba84677f",
|
|
"hasReplayTV": false,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F40090~~2FMV002875650000~~2F1,imi:191d69d4592b3a45a562ec1f90538654ba84677f",
|
|
"isSplitProgram": true,
|
|
"mergedId": "40090|en-GB",
|
|
"minimumAge": 8,
|
|
"replayAvailabilityEnd": 1734201900,
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734194100,
|
|
"title": "Only the Valiant"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734198000,
|
|
"hasReplayTV": false,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F19221598~~2FSH037146530000~~2F333458683,imi:b201e2acaa94b189ae5d0d16924f64ab655f6c59",
|
|
"isPlaceHolder": true,
|
|
"mergedId": "19221598|en-GB",
|
|
"replayAvailabilityEnd": 1734198000,
|
|
"replayTVMinAge": 11,
|
|
"startTime": 1734197700,
|
|
"title": "Entertainment News On 5"
|
|
},
|
|
{
|
|
"audioLanguages": [
|
|
{
|
|
"lang": "en"
|
|
}
|
|
],
|
|
"endTime": 1734201900,
|
|
"groupedEventIdFirstPart": "crid:~~2F~~2Fgn.tv~~2F40090~~2FMV002875650000~~2F1,imi:191d69d4592b3a45a562ec1f90538654ba84677f",
|
|
"hasReplayTV": false,
|
|
"hasReplayTVOTT": false,
|
|
"id": "crid:~~2F~~2Fgn.tv~~2F40090~~2FMV002875650000~~2F2,imi:c2e77e3715d7c38ff731362396170d60217ad33c",
|
|
"isSplitProgram": true,
|
|
"mergedId": "40090|en-GB",
|
|
"minimumAge": 8,
|
|
"replayAvailabilityEnd": 1734201900,
|
|
"replayTVMinAge": 11,
|
|
"seriesPremiereAirings": true,
|
|
"startTime": 1734198000,
|
|
"title": "Only the Valiant"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"time": 1734177600
|
|
} |