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

discoveryplus: changed domain check when finding all espisodes

This commit is contained in:
Christoffer Holmesland 2021-02-20 16:08:44 +01:00 committed by Johan Andersson
parent 68e9906323
commit 8cd5793ed4

View File

@ -139,7 +139,7 @@ class Dplay(Service):
self._getpackages() self._getpackages()
urllocal = "" urllocal = ""
if self.domain in ["dplay.dk", "dplay.no"]: if self.domain in ["discoveryplus.no", "discoveryplus.dk"]:
urllocal = "mer" urllocal = "mer"
url = "http://disco-api.{}/cms/routes/program{}/{}?decorators=viewingHistory&include=default".format(self.domain, urllocal, match.group(2)) url = "http://disco-api.{}/cms/routes/program{}/{}?decorators=viewingHistory&include=default".format(self.domain, urllocal, match.group(2))