epg/sites/tvguide.com
Toha 6def709352
Update tvguide.com guide.
Test:

```sh
npm test --- tvguide.com

> test
> run-script-os tvguide.com

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

 PASS  sites/tvguide.com/tvguide.com.test.js
  √ can generate valid url (4 ms)
  √ can parse response (5 ms)
  √ can handle empty guide (1 ms)

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

Grab:

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

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

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: tvguide.com
loading channels...
  found 1 channel(s)
run #1:
  [1/2] tvguide.com (es) - UnivisionEast.us - Jan 12, 2025 (33 programs)
  [2/2] tvguide.com (es) - UnivisionEast.us - Jan 13, 2025 (25 programs)
  saving to "guide.xml"...
  done in 00h 00m 05s
```

Signed-off-by: Toha <tohenk@yahoo.com>
2025-01-12 23:07:10 +07:00
..
__data__ Update tvguide.com guide. 2025-01-12 23:07:10 +07:00
readme.md Add missing space 2024-12-17 20:14:19 +03:00
tvguide.com.channels.xml Update tvguide.com guide. 2025-01-12 23:07:10 +07:00
tvguide.com.config.js Update tvguide.com guide. 2025-01-12 23:07:10 +07:00
tvguide.com.test.js Update tvguide.com guide. 2025-01-12 23:07:10 +07:00

tvguide.com

https://www.tvguide.com/listings/

Download the guide

npm run grab --- --site=tvguide.com

Update channel list

npm run channels:parse --- --config=./sites/tvguide.com/tvguide.com.config.js --output=./sites/tvguide.com/tvguide.com.channels.xml

Test

npm test --- tvguide.com