Commit Graph
12 Commits
Author SHA1 Message Date
luuvasara 8d7502c437 Fix dna.fi guide: full-day results, hard errors on bad responses
The grabber requested each day as a fixed UTC+2 window. The API's
broadcast days start at 04:00 Europe/Helsinki, so during daylight
saving time (UTC+3) the misaligned interval was answered with a
"303 See Other" redirect to a widened two-day window. On top of that
the API paginates 20 items per response by default, so each day was
truncated to the first ~20 programmes.

- Request the exact broadcast-day window in Europe/Helsinki time
- Add limit=1000 so a full day fits in one response
- Drop the local-timezone day filter: the requested interval already
  bounds the results, and the filter discarded late-night programmes
  depending on the runner's timezone
- Throw on malformed or unrecognized responses instead of returning
  an empty list, so failures are reported as errors rather than a
  silently empty (but "successful") guide
2026-07-10 22:37:04 +03:00
freearhey 4074a4d526 Update instructions 2026-03-17 03:33:30 +03:00
iptv-bot[bot] 57033a9cd0 [Bot] Format *.channels.xml files
Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [format](https://github.com/iptv-org/epg/actions/runs/19200365431) workflow.
2025-11-08 23:55:33 +00:00
freearhey b6a589c62a Replace LF line endings with CRLF 2025-09-28 17:55:05 +03:00
theofficialomega 10c9032f0a bump deps + channel lists & dstv partial 1 2025-08-21 01:00:22 +02:00
freearhey 77a4de1198 Replace LF endings with CRLF 2025-08-11 09:28:27 +03:00
freearhey 29aa427923 Replace LF endings with CRLF 2025-07-31 22:29:01 +03:00
freearhey 368500ab51 Create readme.md 2025-01-14 16:44:26 +03:00
freearhey 2d37b52229 Create dna.fi.channels.xml 2025-01-14 16:44:11 +03:00
freearhey 89ad9efd77 Create dna.fi.config.js 2025-01-14 16:43:54 +03:00
freearhey 5fae8484ce Create dna.fi.test.js 2025-01-14 16:43:37 +03:00
freearhey 9d185dcf38 Create content.json 2025-01-14 16:43:18 +03:00