mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
tv4play: fix so all episodes work again
This commit is contained in:
parent
be1a20a1f9
commit
ad75ef77f0
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user