Toha
|
4c706f49a4
|
Update starhubtvplus.com guide.
Test:
```sh
npm test -- starhubtvplus.com
> test
> run-script-os starhubtvplus.com
> test:win32
> SET "TZ=Pacific/Nauru" && npx jest --runInBand starhubtvplus.com
PASS sites/starhubtvplus.com/starhubtvplus.com.test.js
√ can generate valid url (3 ms)
√ can parse response (3 ms)
√ can handle empty guide (1 ms)
Test Suites: 1 passed, 1 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 4.337 s
Ran all test suites matching /starhubtvplus.com/i.
```
Grab:
```sh
npm run grab -- --site=starhubtvplus.com --lang=en
> grab
> npx tsx scripts/commands/epg/grab.ts --site=starhubtvplus.com --lang=en
starting...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: starhubtvplus.com
lang: en
loading channels...
found 116 channel(s)
run #1:
[1/232] starhubtvplus.com (en) - 7c0ee1eb-5f74-4f5a-a338-69eb125badb4 - Dec 4, 2024 (26 programs)
[2/232] starhubtvplus.com (en) - 7c0ee1eb-5f74-4f5a-a338-69eb125badb4 - Dec 5, 2024 (26 programs)
...
[231/232] starhubtvplus.com (en) - 210ba103-0d19-4b26-bb9f-36d531d7471f - Dec 5, 2024 (39 programs)
[232/232] starhubtvplus.com (en) - 210ba103-0d19-4b26-bb9f-36d531d7471f - Dec 4, 2024 (39 programs)
saving to "guide.xml"...
done in 00h 00m 22s
```
Signed-off-by: Toha <tohenk@yahoo.com>
|
2024-12-04 20:56:00 +07:00 |
|