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:
parent
68e9906323
commit
8cd5793ed4
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user