mirror of
https://github.com/iptv-org/epg
synced 2026-03-22 03:41:02 -04:00
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>
1 line
922 B
JSON
1 line
922 B
JSON
{"meta":{"status":200},"data":{"id":145,"name":"3sat","slug":"3sat","themedLogo":{"light":{"url":"https://new.static.tv.nu/19402383","isFallback":false},"dark":{"url":"https://new.static.tv.nu/59995595","isFallback":true}},"broadcasts":[{"type":"broadcast","id":"1TirWo-2l-dxVS","programId":"28689","isPlay":false,"isMovie":false,"isSeries":false,"isRerun":false,"isRecurring":false,"isLive":false,"title":"Natur im Garten","description":"Der Gartenbuchautor Karl Ploberger gibt in der Sendung Tipps und Tricks zur Gartenpflege.","year":2024,"genreNames":[],"genres":[{"name":"Konsument","slug":"konsument"},{"name":"Underhållning","slug":"underhallning"},{"name":"Trädgård","slug":"tradgard"}],"genreGroupNames":[],"genreGroups":[],"playProviders":[],"broadcast":{"id":"1TirWo-2l-dxVS","startTime":1733226600000,"endTime":1733228100000,"type":"broadcast"},"episodeNumber":9,"seasonNumber":29,"isIntermission":false}]}} |