1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

Applied similar fix for get all episodes i.e. -A (#1)

This commit is contained in:
Simon Vallebro 2020-09-04 20:07:55 +02:00 committed by Johan Andersson
parent 43542355a7
commit 478fd3b399

View File

@ -89,7 +89,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
show = None
match = self._getjson()
jansson = json.loads(match.group(1))
janson2 = jansson["props"]["apolloState"]
janson2 = jansson["props"]["pageProps"]["initialApolloState"]
for i in janson2:
if "VideoAsset:" in i:
if janson2[i]["clip"] and config.get("include_clips"):