1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

viafree: add missing self

This commit is contained in:
Johan Andersson 2021-10-19 21:52:19 +02:00
parent c4540927be
commit 1cf16a91a4

View File

@ -220,5 +220,5 @@ class Viafree(Service, OpenGraphThumbMixin):
return True return True
return False return False
def _jansonpage(text): def _jansonpage(self, text):
return json.loads("{}{}".format("{", text.replace("undefined", "null"))) return json.loads("{}{}".format("{", text.replace("undefined", "null")))