Commit graph

8 commits

Author SHA1 Message Date
Toha
916b5f5234 Use simultaneous fetch helper.
- Introduce fetch helper for site to fetch guide simultaneously.
- Clean-up unused requires.
- Updated tv.yandex.ru cookies.

Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-20 19:54:59 +07:00
Toha
769379a707
Update startimestv.com guide.
Test:

```sh
npm test -- startimestv.com

> test
> run-script-os startimestv.com

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

 PASS  sites/startimestv.com/startimestv.com.test.js
  √ can generate valid url (3 ms)
  √ can parse response (114 ms)
  √ can handle empty guide (2 ms)

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

Grab:

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

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

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: startimestv.com
loading channels...
  found 77 channel(s)
run #1:
  [1/154] startimestv.com (en) - 648 - Dec 10, 2024 (17 programs)
  [2/154] startimestv.com (en) - 648 - Dec 11, 2024 (18 programs)
  ...
  [153/154] startimestv.com (pt) - DisneyChannel.pt - Dec 11, 2024 (61 programs)
  [154/154] startimestv.com (en) - ZeeOneAfrica.za - Dec 10, 2024 (22 programs)
  saving to "guide.xml"...
  done in 00h 01m 02s
```

Signed-off-by: Toha <tohenk@yahoo.com>
2024-12-10 22:59:14 +07:00
freearhey
32b9199469 Update startimestv.com 2023-11-27 20:41:06 +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
564e3f301c Update startimestv.com.config.js 2022-04-10 02:19:25 +03:00
Aleksandr Statciuk
9e4fe7ffc4 Create startimestv.com.config.js 2022-04-10 01:43:19 +03:00