Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tvgids.nl #2621

Merged
merged 4 commits into from
Jan 19, 2025
Merged

Update tvgids.nl #2621

merged 4 commits into from
Jan 19, 2025

Conversation

freearhey
Copy link
Collaborator

@freearhey freearhey commented Jan 17, 2025

Fixes #2400

npm test -- tvgids.nl

> test
> run-script-os tvgids.nl


> test:default
> TZ=Pacific/Nauru npx jest --runInBand tvgids.nl

 PASS  sites/tvgids.nl/tvgids.nl.test.js
  ✓ can generate valid url (38 ms)
  ✓ can generate valid url for today (1 ms)
  ✓ can parse response (263 ms)
  ✓ can handle empty guide (1 ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        1.243 s
Ran all test suites matching /tvgids.nl/i.
npm run grab --- --site=tvgids.nl

> grab
> npx tsx scripts/commands/epg/grab.ts --site=tvgids.nl

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: tvgids.nl
loading channels...
  found 115 channel(s)
run #1:
  [1/230] tvgids.nl (en) - AlJazeeraEnglish.qa - Jan 17, 2025 (51 programs)
  [2/230] tvgids.nl (en) - AlJazeeraEnglish.qa - Jan 18, 2025 (51 programs)
  [3/230] tvgids.nl (tr) - TRTWorld.tr - Jan 18, 2025 (47 programs)
  [4/230] tvgids.nl (tr) - TRTWorld.tr - Jan 17, 2025 (42 programs)
  [5/230] tvgids.nl (nl) - ZiggoSport.nl - Jan 18, 2025 (24 programs)
  [6/230] tvgids.nl (nl) - ZiggoSport.nl - Jan 17, 2025 (27 programs)
  [7/230] tvgids.nl (nl) - ZDF.de - Jan 18, 2025 (51 programs)
  [8/230] tvgids.nl (nl) - ZDF.de - Jan 17, 2025 (35 programs)
  [9/230] tvgids.nl (nl) - XITE.nl - Jan 18, 2025 (15 programs)
...
  [230/230] tvgids.nl (en) - CNNInternationalEurope.us - Jan 17, 2025 (36 programs)
  saving to "guide.xml"...
  done in 00h 01m 23s

@freearhey freearhey marked this pull request as draft January 18, 2025 13:29
auto-merge was automatically disabled January 18, 2025 13:29

Pull request was converted to draft

Copy link
Contributor

@BellezaEmporium BellezaEmporium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting use of the jest.useFakeTimers()... this would mean that in certain scenarios this should be needed in complement of DayJS ?

@freearhey freearhey marked this pull request as ready for review January 19, 2025 13:58
@freearhey freearhey merged commit a37d616 into master Jan 19, 2025
1 of 2 checks passed
@freearhey freearhey deleted the update-tvgids.nl branch January 19, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

tvgids.nl
3 participants