mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
discoveryplus: changed domain check when finding all espisodes
This commit is contained in:
parent
68e9906323
commit
8cd5793ed4
@ -139,7 +139,7 @@ class Dplay(Service):
|
||||
self._getpackages()
|
||||
|
||||
urllocal = ""
|
||||
if self.domain in ["dplay.dk", "dplay.no"]:
|
||||
if self.domain in ["discoveryplus.no", "discoveryplus.dk"]:
|
||||
urllocal = "mer"
|
||||
|
||||
url = "http://disco-api.{}/cms/routes/program{}/{}?decorators=viewingHistory&include=default".format(self.domain, urllocal, match.group(2))
|
||||
|
Loading…
Reference in New Issue
Block a user