Commit Graph

13 Commits

Author SHA1 Message Date
Toha
4eff318722 Fix excessive page while fetching channels.
Signed-off-by: Toha <tohenk@yahoo.com>
2025-01-13 14:11:12 +07:00
Toha
8be65cc04f Update dsmart.com.tr guide.
Test:

```sh
npm test --- dsmart.com.tr

> test
> run-script-os dsmart.com.tr

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

 PASS  sites/dsmart.com.tr/dsmart.com.tr.test.js
  √ can generate valid url (6 ms)
  √ can parse response (14 ms)
  √ can handle empty guide (2 ms)

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

Grab:

```sh
npm run grab --- --site=dsmart.com.tr

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

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: dsmart.com.tr
loading channels...
  found 104 channel(s)
run #1:
  [1/208] dsmart.com.tr (tr) - 5d25dbe5cfef0b5761a051db - Jan 13, 2025 (38 programs)
  [2/208] dsmart.com.tr (tr) - 5d25dbe5cfef0b5761a051db - Jan 14, 2025 (36 programs)
  ...
  [207/208] dsmart.com.tr (tr) - 58d29bb0eefad3db9c6062b4 - Jan 14, 2025 (35 programs)
  [208/208] dsmart.com.tr (tr) - 58d29bb0eefad3db9c6062b4 - Jan 13, 2025 (41 programs)
  saving to "guide.xml"...
  done in 00h 00m 12s
```

Signed-off-by: Toha <tohenk@yahoo.com>
2025-01-13 13:36:53 +07: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
54b7be218f Update dsmart.com.tr.config.js 2023-02-04 01:31:33 +03:00
Aleksandr Statciuk
e1a2b274cd Update dsmart.com.tr.config.js 2023-01-15 21:24:36 +03:00
Hasan Akgün
ab3f859a18 Add 60s cache to dsmart.com.tr epg-grabber 2023-01-11 16:37:42 +01:00
Aleksandr Statciuk
f97f1b55c9 Adds the number of days to config.js 2023-01-10 12:40:01 +03:00
Aleksandr Statciuk
a9ea96f460 Update dsmart.com.tr 2022-02-01 04:53:20 +03:00
Aleksandr Statciuk
63eed52246 Fixes ID matching errors 2022-01-13 21:57:40 +03:00
Aleksandr Statciuk
49d648238c Update dsmart.com.tr.config.js 2021-11-18 17:58:36 +03:00
Aleksandr Statciuk
52094dae00 Update dsmart.com.tr.config.js 2021-11-11 16:37:44 +03:00
Aleksandr Statciuk
55da13eae6 Create dsmart.com.tr.config.js 2021-11-06 17:59:35 +03:00