From ad75ef77f076b776939ef3feea8fe5c589b962c0 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 23 Sep 2018 20:05:36 +0200 Subject: [PATCH] tv4play: fix so all episodes work again --- lib/svtplay_dl/service/tv4play.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index c01e8ef..8cb9da6 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -92,8 +92,8 @@ class Tv4play(Service, OpenGraphThumbMixin): for i in jansson: janson2 = json.loads(i["data"]) if "program" in janson2["data"]: - if "panels" in janson2["data"]["program"]: - for n in janson2["data"]["program"]["panels"]: + if "programPanels" in janson2["data"]["program"]: + for n in janson2["data"]["program"]["programPanels"]["panels"]: if n.get("assetType", None) == "EPISODE": for z in n["videoList"]["videoAssets"]: show = z["program_nid"]