Commit Graph

14 Commits

Author SHA1 Message Date
freearhey
b6a589c62a Replace LF line endings with CRLF 2025-09-28 17:55:05 +03:00
whitesnakeftw
80e8dc532b minor fixes, delete unused files 2025-08-13 15:55:45 +02:00
freearhey
32c856a35c Merge branch 'master' into pr/2821 2025-08-10 08:00:26 +03:00
whitesnakeftw
7b760fd8ed fix tvarenasport.com 2025-08-01 13:38:09 +02:00
freearhey
29aa427923 Replace LF endings with CRLF 2025-07-31 22:29:01 +03:00
freearhey
5df982bb7c Fix linter issues in sites/ 2025-01-01 12:27:22 +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
Toha
34da0a19eb Update tvarenasport.com guide.
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.89 s)
  √ can parse response (977 ms)
  √ can handle empty guide

Test Suites: 1 passed, 1 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        6.097 s
Ran all test suites matching /tvarenasport.com/i.
```

Grab:

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

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

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: tvarenasport.com
loading channels...
  found 14 channel(s)
run #1:
  [1/28] tvarenasport.com (sr) - ArenaSport1.rs - Dec 7, 2024 (16 programs)
  [2/28] tvarenasport.com (sr) - ArenaSport1.rs - Dec 8, 2024 (14 programs)
  ...
  [27/28] tvarenasport.com (sr) - ArenaSport1Premium.rs - Dec 8, 2024 (17 programs)
  [28/28] tvarenasport.com (sr) - ArenaSport1Premium.rs - Dec 7, 2024 (19 programs)
  saving to "guide.xml"...
  done in 00h 00m 29s
```

Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-07 17:07:29 +07:00
freearhey
3dca4c9734 Update tvarenasport.com 2023-12-01 00:30:14 +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
18a4c8f305 Merge channels.xml 2023-01-05 15:28:24 +03:00
Aleksandr Statciuk
832fa703de Update tvarenasport.com.test.js 2022-08-24 23:03:33 +03:00
Aleksandr Statciuk
2acf9a5fa4 Create tvarenasport.com.test.js 2021-11-17 15:59:24 +03:00