Toha
|
9c6978deba
|
Update tv.nu guide.
Test:
```sh
npm test -- tv.nu
> test
> run-script-os tv.nu
> test:win32
> SET "TZ=Pacific/Nauru" && npx jest --runInBand tv.nu
PASS sites/tv.nu/tv.nu.test.js (6.72 s)
√ can generate valid url (5 ms)
√ can parse response (7 ms)
√ can handle empty guide (1 ms)
Test Suites: 1 passed, 1 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 7.246 s
Ran all test suites matching /tv.nu/i.
```
Grab:
```sh
npm run grab -- --site=tv.nu
> grab
> npx tsx scripts/commands/epg/grab.ts --site=tv.nu
starting...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: tv.nu
loading channels...
found 199 channel(s)
run #1:
[1/398] tv.nu (da) - dk4.dk - Dec 4, 2024 (41 programs)
[2/398] tv.nu (da) - dk4.dk - Dec 5, 2024 (43 programs)
...
[397/398] tv.nu (sv) - VSportUltraHD.se - Dec 4, 2024 (7 programs)
[398/398] tv.nu (sv) - VSportUltraHD.se - Dec 5, 2024 (7 programs)
saving to "guide.xml"...
done in 00h 02m 40s
```
Signed-off-by: Toha <tohenk@yahoo.com>
|
2024-12-04 12:59:29 +07:00 |
|