tuliprox icon indicating copy to clipboard operation
tuliprox copied to clipboard

EPG does not support gz format

Open blockloop opened this issue 1 year ago • 0 comments

Describe the bug Many IPTV providers provide the epg in epg.gz compression because of the sheer size of the data.

To Reproduce Steps to reproduce the behavior:

sources:
  - inputs:
      - enabled: true
        type: xtream
        persist: 'streamer_1_{}.m3u'
        epg_url: 'https://epg.streamer.com/epg.gz'

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

It's important to check the content-type header and also follow redirects. gz endpoints will return Content-Type: application/gzip but many of them redirect

blockloop avatar Aug 04 '24 22:08 blockloop