From 8917d5bd8e855b001e2d06f4ae07c22a9c9c1849 Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 20 Dec 2017 21:51:31 +0100 Subject: [PATCH] Viaplay: Fix regexp for JSON episode data extraction --- lib/svtplay_dl/service/viaplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index 31b4b8d..f3331df 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -82,7 +82,7 @@ class Viaplay(Service, OpenGraphThumbMixin): if clips: return episodenr else: - match = re.search('"ContentPageProgramStore":({.*}),"ApplicationStore', self.get_urldata()) + match = re.search('"ContentPageProgramStore":({.*}),"StartPageStore', self.get_urldata()) if match: janson = json.loads(match.group(1)) for i in janson["format"]["videos"].keys():