iptv-org / epg

Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
https://iptv-org.github.io/
The Unlicense
1.66k stars 156 forks source link

tvprofil.com #2399

Open freearhey opened 4 days ago

freearhey commented 4 days ago

Site

tvprofil.com

Description

Test failed:

npm test -- tvprofil.com

> test
> run-script-os tvprofil.com

> test:default
> TZ=Pacific/Nauru npx jest --runInBand tvprofil.com

 FAIL  sites/tvprofil.com/tvprofil.com.test.js
  ✕ can generate valid url (14 ms)
  ✓ can generate valid request headers (1 ms)
  ✓ can parse response (76 ms)
  ✓ can handle empty guide (2 ms)

  ● can generate valid url

    expect(received).toBe(expected) // Object.is equality

    Expected: "https://tvprofil.com/bg/tv-programa/program/?datum=2023-01-12&kanal=24kitchen-bg&callback=cb&b51=818933"
    Received: "https://tvprofil.com/bg/tv-programa/program/?datum=2023-01-12&kanal=24kitchen-bg&callback=cb&b49=819461"

      15 |
      16 | it('can generate valid url', () => {
    > 17 |   expect(url({ channel, date })).toBe(
         |                                  ^
      18 |     'https://tvprofil.com/bg/tv-programa/program/?datum=2023-01-12&kanal=24kitchen-bg&callback=cb&b51=818933'
      19 |   )
      20 | })

      at Object.<anonymous> (sites/tvprofil.com/tvprofil.com.test.js:17:34)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 3 passed, 4 total
Snapshots:   0 total
Time:        3.307 s
Ran all test suites matching /tvprofil.com/i.