Commit graph

19 commits

Author SHA1 Message Date
freearhey
5df982bb7c Fix linter issues in sites/ 2025-01-01 12:27:22 +03:00
freearhey
af932a972c Update tvarenasport.hr.config.js
Move code from tvarenasport.com/tvarenasport.com.config.js
2024-12-19 21:40:14 +07:00
freearhey
8110659652 Add missing space 2024-12-17 20:14:19 +03:00
freearhey
28c8e3d74f Replace -- with --- in npm commands
Resolves https://github.com/iptv-org/epg/issues/2354

Details: https://github.com/npm/cli/issues/3136
2024-12-15 17:32:49 +03:00
Toha
37505d391b
Update tvarenasport.hr guide.
It is now derived from tvarenasport.com.

Test:

```sh
npm test -- tvarenasport.com

> test
> run-script-os tvarenasport.com

> test:win32
> SET "TZ=Pacific/Nauru" && npx jest --runInBand tvarenasport.com

 PASS  sites/tvarenasport.com/tvarenasport.com.test.js (5.391 s)
  √ can generate valid url (3 ms)
  √ can parse response (877 ms)
  √ can handle empty guide (1 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        5.555 s, estimated 6 s
Ran all test suites matching /tvarenasport.com/i.
```

```sh
npm test -- tvarenasport.hr

> test
> run-script-os tvarenasport.hr

> test:win32
> SET "TZ=Pacific/Nauru" && npx jest --runInBand tvarenasport.hr

 PASS  sites/tvarenasport.hr/tvarenasport.hr.test.js (5.578 s)
  √ can generate valid url (4 ms)
  √ can parse response (327 ms)
  √ can handle empty guide (1 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        5.774 s
Ran all test suites matching /tvarenasport.hr/i.
```

Grab:

```sh
npm run grab -- --site=tvarenasport.hr

> grab
> npx tsx scripts/commands/epg/grab.ts --site=tvarenasport.hr

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: tvarenasport.hr
loading channels...
  found 10 channel(s)
run #1:
  [1/20] tvarenasport.hr (hr) - ArenaSport1.hr - Dec 10, 2024 (17 programs)
  [2/20] tvarenasport.hr (hr) - ArenaSport1.hr - Dec 11, 2024 (17 programs)
  ...
  [19/20] tvarenasport.hr (hr) - ArenaSport2.hr - Dec 11, 2024 (12 programs)
  [20/20] tvarenasport.hr (hr) - ArenaSport2.hr - Dec 10, 2024 (12 programs)
  saving to "guide.xml"...
  done in 00h 00m 11s
```

Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-10 08:17:23 +07:00
freearhey
ff77940df2 Update tvarenasport.hr 2023-12-01 00:33:55 +03:00
freearhey
e9fdc45f91 Fixes xmltv_id 2023-11-15 10:03:21 +03:00
freearhey
63c86a2b30 Fixes linter errors 2023-10-15 14:08:23 +03:00
freearhey
c0cfcf7a47 Update /sites 2023-10-02 06:35:33 +03:00
Aleksandr Statciuk
f97f1b55c9 Adds the number of days to config.js 2023-01-10 12:40:01 +03:00
Aleksandr Statciuk
18a4c8f305 Merge channels.xml 2023-01-05 15:28:24 +03:00
Aleksandr Statciuk
2afe3ff92d Rename config.ignore to config.skip 2022-11-12 00:50:38 +03:00
Aleksandr Statciuk
4f695e0f93 Update tvarenasport.hr.test.js 2022-08-24 23:03:36 +03:00
Aleksandr Statciuk
b9ce3fe01a Fixes xmltv_id 2022-06-30 00:27:03 +03:00
Aleksandr Statciuk
f4aa48ee33 Fixes validation errors 2022-04-16 02:54:19 +03:00
Aleksandr Statciuk
180f001430 Update tvarenasport.hr.config.js 2022-03-23 11:43:21 +03:00
Aleksandr Statciuk
fc41e265a9 Create tvarenasport.hr_hr.channels.xml 2021-11-17 16:23:38 +03:00
Aleksandr Statciuk
386c22d773 Create tvarenasport.hr.config.js 2021-11-17 16:23:26 +03:00
Aleksandr Statciuk
b8af82abb9 Create tvarenasport.hr.test.js 2021-11-17 16:23:17 +03:00