-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
add epg.telemach.me #2630
add epg.telemach.me #2630
Conversation
Test results: npm test --- epg.telemach.me
> test
> run-script-os epg.telemach.me
> test:default
> TZ=Pacific/Nauru npx jest --runInBand epg.telemach.me
PASS sites/epg.telemach.me/epg.telemach.me.test.js
✓ can generate valid url (5 ms)
✓ can generate valid request headers (3 ms)
✓ can parse response (11 ms)
✓ can handle empty guide (1 ms)
Test Suites: 1 passed, 1 total
Tests: 4 passed, 4 total
Snapshots: 0 total
Time: 0.775 s, estimated 1 s
Ran all test suites matching /epg.telemach.me/i. Grab results: npm run grab --- --site=epg.telemach.me --maxConnections=10
> grab
> npx tsx scripts/commands/epg/grab.ts --site=epg.telemach.me --maxConnections=10
starting...
config:
output: guide.xml
maxConnections: 10
gzip: false
site: epg.telemach.me
loading channels...
found 216 channel(s)
run #1:
[1/648] epg.telemach.me (bs) - 7 - Jan 20, 2025 (31 programs)
[2/648] epg.telemach.me (bs) - 7 - Jan 21, 2025 (24 programs)
[3/648] epg.telemach.me (bs) - 7 - Jan 19, 2025 (30 programs)
[4/648] epg.telemach.me (bs) - 5 - Jan 21, 2025 (29 programs)
[5/648] epg.telemach.me (bs) - 5 - Jan 20, 2025 (27 programs)
[6/648] epg.telemach.me (bs) - 1 - Jan 20, 2025 (42 programs)
[7/648] epg.telemach.me (bs) - 1 - Jan 21, 2025 (42 programs)
[8/648] epg.telemach.me (bs) - 1 - Jan 19, 2025 (46 programs)
[9/648] epg.telemach.me (bs) - 8 - Jan 19, 2025 (14 programs)
...
[648/648] epg.telemach.me (bs) - 695 - Jan 20, 2025 (48 programs)
saving to "guide.xml"...
done in 00h 00m 10s |
I would recommend just creating one config for this instead of multiple (similar to canalplus). The following providers use the same urls (all belong to United Group). It can just be called unitedgroup.rs telemach.me (Montenegro) - communityId=5&, languageId=10001 I'm still working on finding the communityid for Croatia, Bulgaria ,and Cyprus |
Well, in the case of https://www.canalplus.com/ht/programme-tv/ And I think if we start breaking down configs by API endpoints instead it will cause more confusion than good. But this is just my personal opinion. If other members of the community decide otherwise, we can always merge the configs into one. |
I have the config working for this site, and it also fetches the channels. I need assistance or guidance on how to write a function to get the bearer token. Right now I just added a static token to get the config to work. Please feel free to modify/correct it. Thank you for your help.
URL: https://epg.telemach.me/