From 9536e236199f5a4696c1592b7477296f9eca47fb Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Fri, 5 Feb 2021 20:37:58 +0100 Subject: [PATCH] tv4play: change so its the same url we see on desktop --- lib/svtplay_dl/service/tv4play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index 653c159..ef7d5f6 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -65,7 +65,7 @@ class Tv4play(Service, OpenGraphThumbMixin): yield ServiceError("Cant find video id for the video") return - url = "https://playback-api.b17g.net/media/{}?service=tv4&device=browser&protocol=hls%2Cdash&drm=widevine".format(vid) + url = "https://playback-api.b17g.net/media/{}?service=tv4&device=browser&protocol=hls%2Cdash&drm=widevine&browser=GoogleChrome".format(vid) res = self.http.request("get", url, cookies=self.cookies) if res.status_code > 200: yield ServiceError("Can't play this because the video is geoblocked or not available.")