mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
change order of operator
This commit is contained in:
parent
a7dfff596b
commit
39f1f2c162
@ -135,7 +135,7 @@ class Dplay(Service):
|
||||
res = self.http.get("https://disco-api.{}/content/videos?{}".format(self.domain, qyerystring))
|
||||
janson = res.json()
|
||||
for i in janson["data"]:
|
||||
if not premium and not "Free" in i["attributes"]["packages"]:
|
||||
if not premium and "Free" not in i["attributes"]["packages"]:
|
||||
continue
|
||||
episodes.append("https://www.{}/videos/{}".format(self.domain, i["attributes"]["path"]))
|
||||
if len(episodes) == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user