3 Commits

3 changed files with 3 additions and 3 deletions
Unified View
  1. +1
    -1
      src/dlhdhr/dlhd/channels.py
  2. +1
    -1
      src/dlhdhr/epg/zap2it.py
  3. +1
    -1
      src/dlhdhr/epg/zaptv.py

+ 1
- 1
src/dlhdhr/dlhd/channels.py View File

@ -164,7 +164,7 @@ _CHANNELS = [
), ),
DLHDChannel( DLHDChannel(
number="130", number="130",
name="Sky sports Premier League",
name="Sky Sports Premier League",
country_code="uk", country_code="uk",
xmltv_id="SkySportsPremiereLeague.uk", xmltv_id="SkySportsPremiereLeague.uk",
call_sign="sky-sports-premier-league", call_sign="sky-sports-premier-league",


+ 1
- 1
src/dlhdhr/epg/zap2it.py View File

@ -63,7 +63,7 @@ class Zap2it:
events = {} events = {}
# Fetch up to 18 hours into the future # Fetch up to 18 hours into the future
for i in range(1, 3, 1):
for i in range(3):
params["time"] = str(int(time.time()) + (21600 * i)) params["time"] = str(int(time.time()) + (21600 * i))
res = await client.get("/grid", params=params) res = await client.get("/grid", params=params)
res.raise_for_status() res.raise_for_status()


+ 1
- 1
src/dlhdhr/epg/zaptv.py View File

@ -19,7 +19,7 @@ class ZapTV:
def _get_client(self) -> httpx.AsyncClient: def _get_client(self) -> httpx.AsyncClient:
return httpx.AsyncClient( return httpx.AsyncClient(
base_url=self._BASE_URL, base_url=self._BASE_URL,
timeout=2.0,
timeout=5.0,
verify=True, verify=True,
max_redirects=1, max_redirects=1,
headers={ headers={


Loading…
Cancel
Save