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 dishtv.in #2647

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Update dishtv.in #2647

wants to merge 4 commits into from

Conversation

freearhey
Copy link
Collaborator

Based on https://github.com/whythishome/epg/blob/master/sites/dishtv.in/dishtv.in.config.js

Fixes #2445

npm test --- dishtv.in

> test
> run-script-os dishtv.in


> test:default
> TZ=Pacific/Nauru npx jest --runInBand dishtv.in

 PASS  sites/dishtv.in/dishtv.in.test.js
  ✓ can generate valid url (3 ms)
  ✓ can generate valid request method (1 ms)
  ✓ can generate valid request headers (5 ms)
  ✓ can generate valid request data (3 ms)
  ✓ can parse response (7 ms)
  ✓ can handle empty guide (1 ms)

Test Suites: 1 passed, 1 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        0.701 s, estimated 1 s
Ran all test suites matching /dishtv.in/i.
npm run grab --- --site=dishtv.in --maxConnections=10

> grab
> npx tsx scripts/commands/epg/grab.ts --site=dishtv.in --maxConnections=10

starting...
config:
  output: guide.xml
  maxConnections: 10
  gzip: false
  site: dishtv.in
loading channels...
  found 453 channel(s)
run #1:
  [1/906] dishtv.in (en) - 140067 - Jan 25, 2025 (8 programs)
  [2/906] dishtv.in (en) - 140066 - Jan 24, 2025 (26 programs)
  [3/906] dishtv.in (en) - 135691 - Jan 24, 2025 (48 programs)
  [4/906] dishtv.in (en) - 142630 - Jan 24, 2025 (14 programs)
  [5/906] dishtv.in (en) - 140067 - Jan 24, 2025 (8 programs)
  [6/906] dishtv.in (en) - 142636 - Jan 24, 2025 (17 programs)
  [7/906] dishtv.in (en) - 142635 - Jan 24, 2025 (16 programs)
  [8/906] dishtv.in (en) - 142630 - Jan 25, 2025 (14 programs)
  [9/906] dishtv.in (en) - 142510 - Jan 24, 2025 (32 programs)
...
  [906/906] dishtv.in (en) - Sports181HD.in - Jan 25, 2025 (77 programs)
  saving to "guide.xml"...
  done in 00h 02m 21s

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.

EPG from dishtv.in stopped with error code 404
1 participant