From 163df0ea143eebb44c700d10bc1863e1ed5d8c27 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 18 Oct 2021 16:22:48 +0200 Subject: [PATCH] tv4play: update the regex to catch the json stuff we need --- 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 6d94a62..b4abe60 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -92,7 +92,7 @@ class Tv4play(Service, OpenGraphThumbMixin): ) def _getjson(self): - match = re.search(r"application\/json\">(.*\})<\/script>(.*\})<\/script>", self.get_urldata()) return match def find_all_episodes(self, config):