Commit graph

5 commits

Author SHA1 Message Date
freearhey
5df982bb7c Fix linter issues in sites/ 2025-01-01 12:27:22 +03:00
Toha
aa04d9482e
Fetch detailed guide.
Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-07 23:49:27 +07:00
Toha
4aa23fa862
Update mytelly.co.uk guide.
Test:

```sh
npm test -- mytelly.co.uk

> test
> run-script-os mytelly.co.uk

> test:win32
> SET "TZ=Pacific/Nauru" && npx jest --runInBand mytelly.co.uk

 PASS  sites/mytelly.co.uk/mytelly.co.uk.test.js
  √ can generate valid url (4 ms)
  √ can parse response (135 ms)
  √ can handle empty guide (1 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        4.146 s, estimated 5 s
Ran all test suites matching /mytelly.co.uk/i.
```

Grab:

```sh
npm run grab -- --site=mytelly.co.uk

> grab
> npx tsx scripts/commands/epg/grab.ts --site=mytelly.co.uk

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: mytelly.co.uk
loading channels...
  found 488 channel(s)
run #1:
  [1/976] mytelly.co.uk (en) - 63/mtv-xmas - Dec 7, 2024 (14 programs)
  [2/976] mytelly.co.uk (en) - 63/mtv-xmas - Dec 8, 2024 (11 programs)
  ...
  [975/976] mytelly.co.uk (en) - TNTSports6.uk - Dec 8, 2024 (3 programs)
  [976/976] mytelly.co.uk (en) - SkySportsMix.uk - Dec 8, 2024 (17 programs)
  saving to "guide.xml"...
  done in 00h 04m 16s
```

Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-07 21:07:16 +07:00
freearhey
71d4eb3555 Update mytelly.co.uk 2023-12-03 18:23:19 +03:00
freearhey
9811ea7ccd Create mytelly.co.uk.test.js 2023-11-25 17:36:01 +03:00