Files
epg/sites/tvguide.com/__data__/program1.json
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

1 line
1.6 KiB
JSON

{"data":{"item":{"id":9000351140,"name":"FBI: International","isSportsEvent":false,"tvRating":"TV-14","categoryId":5,"subCategoryId":0,"episodeNumber":12,"mcoId":1060026058,"title":"FBI: International","type":"show","slug":"fbi-international","typeId":1,"images":[{"id":"2-da3822c4eec5e6100c9b6ff2ac667213","provider":"2","imageType":{"typeId":1,"typeName":"showcard","providerTypeName":"showcard"},"bucketType":"catalog","bucketPath":"/provider/2/13/2-da3822c4eec5e6100c9b6ff2ac667213.jpg","filename":"","width":3840,"height":2160},{"id":"2-d7bbccddf55702be0028e4c7b37d91d2","provider":"2","imageType":{"typeId":2,"typeName":"poster art","providerTypeName":"poster art"},"bucketType":"catalog","bucketPath":"/provider/2/2/2-d7bbccddf55702be0028e4c7b37d91d2.jpg","filename":"","width":1400,"height":2100}],"genres":[{"id":3,"name":"Action & Adventure","genres":["Action","Adventure"]},{"id":5,"name":"Suspense","genres":["Crime","Mystery","Thriller"]},{"id":1,"name":"Drama","genres":["Drama"]}],"metacriticSummary":null,"video":null,"parentId":1060026058,"description":"The owner of a prominent cyber security company is murdered in Copenhagen just before a massive data leak surfaces online, leading the NSA to ask the team for assistance in catching the killer and leaker before more data is revealed.","rating":"L","episodeTitle":"Gift","releaseYear":2024,"seoUrl":null,"episodeAirDate":"/Date(1715644800000)/","seasonNumber":3,"duration":null}},"links":{"self":{"href":"https://backend.tvguide.com/tvschedules/tvguide/programdetails/9000351140/web"}},"meta":{"componentName":null,"componentDisplayName":null,"componentType":null}}