1
0
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:
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()
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))