diff --git a/services/ITV/__init__.py b/services/ITV/__init__.py index 695cdd1..222cd36 100644 --- a/services/ITV/__init__.py +++ b/services/ITV/__init__.py @@ -24,7 +24,7 @@ class ITV(Service): Service code for ITVx streaming service (https://www.itv.com/). \b - Version: 1.0.0 + Version: 1.0.1 Author: stabbedbybrick Authorization: Cookies (Optional for free content | Required for premium content) Robustness: @@ -280,10 +280,6 @@ class ITV(Service): if r.status_code != 200: raise ConnectionError(r.text) - r = self.session.post(playlist, headers=headers, json=payload) - if r.status_code != 200: - raise ConnectionError(r.text) - data = r.json() video = data["Playlist"]["Video"] subtitles = video.get("Subtitles") diff --git a/services/ITV/config.yaml b/services/ITV/config.yaml index 5ab82ce..ebd26d5 100644 --- a/services/ITV/config.yaml +++ b/services/ITV/config.yaml @@ -1,6 +1,5 @@ headers: - User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0 - accept-language: en-US,en;q=0.8 + User-Agent: okhttp/4.9.3 endpoints: login: https://auth.prd.user.itv.com/v2/auth