mirror of
https://github.com/iptv-org/epg
synced 2026-03-22 03:41:02 -04:00
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>
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"build":{"version":"3.1.14-dev132","start":"2024-12-04 09:29:09.289","end":"2024-12-04 09:29:09.314","duration":"25.679016ms","mode":"Release"},"page":{"current":1,"total":1,"items_count":30,"total_items_count":30},"resources":[{"metatype":"Schedule","primary":4597488,"id":"24bb8098-c8a4-464e-bd4f-1ad3f3f6c5e0","platform_id":"GLOBAL_TC0038319955","dataset":"nagra","device":2,"source_id":"GLOBAL_TC0038319955","start":1733246700,"end":1733250000,"runtime":3300,"channel_id":"d258444e-b66b-4cbe-88db-e09f31ab8a1f","channel_platform_id":"GLOBAL_355","ranking":null,"monthly_ranking":null,"weekly_ranking":null,"daily_ranking":null,"rights":{"record":{"capable":true,"type":0,"expiry":0,"forbidden_trickmode":0},"timeshift":{"start_over":false,"watch_again":false,"expiry":0,"forbidden_trickmode":0},"blackout":{"enable":false,"network":"","marketcode":"","message":""}},"rating":"PG13","episode_number":15,"title":"Northern Rexposure","subtitle":"","description":"When Jesse's sister contacts him for help, he, Sarah and Rex head to Northern Ontario and find themselves in the middle of a deadly situation.","short_description":"","serie_title":"Hudson & Rex (Season 5)","casts":[],"producers":[],"directors":[],"ppv":false,"purchasable":false,"definition":"SD","schedule_type":"rerun","content_type":100,"pictures":[{"primary":41731580,"type":5,"url":"https://poster.starhubgo.com/poster/ch511_hudson_rex5.jpg?w=960&h=540"},{"primary":41731593,"type":4,"url":"https://poster.starhubgo.com/poster/ch511_hudson_rex5.jpg?w=341&h=192"}],"locale":"en_US","genres":["Drama"],"revision":1731934823,"support_multicam":false,"schedule_internal_type":0}]} |