mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Applied similar fix for get all episodes i.e. -A (#1)
This commit is contained in:
parent
43542355a7
commit
478fd3b399
@ -89,7 +89,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
|||||||
show = None
|
show = None
|
||||||
match = self._getjson()
|
match = self._getjson()
|
||||||
jansson = json.loads(match.group(1))
|
jansson = json.loads(match.group(1))
|
||||||
janson2 = jansson["props"]["apolloState"]
|
janson2 = jansson["props"]["pageProps"]["initialApolloState"]
|
||||||
for i in janson2:
|
for i in janson2:
|
||||||
if "VideoAsset:" in i:
|
if "VideoAsset:" in i:
|
||||||
if janson2[i]["clip"] and config.get("include_clips"):
|
if janson2[i]["clip"] and config.get("include_clips"):
|
||||||
|
Loading…
Reference in New Issue
Block a user