mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
kanal5play: support for kanal9play.se
This commit is contained in:
parent
cd9f94f5eb
commit
a682423e96
@ -875,7 +875,7 @@ class Qbrick():
|
|||||||
|
|
||||||
class Kanal5():
|
class Kanal5():
|
||||||
def handle(self, url):
|
def handle(self, url):
|
||||||
return "kanal5play.se" in url
|
return ("kanal5play.se" in url) or ("kanal9play.se" in url)
|
||||||
|
|
||||||
def get(self, options, url):
|
def get(self, options, url):
|
||||||
match = re.search(".*video/([0-9]+)", url)
|
match = re.search(".*video/([0-9]+)", url)
|
||||||
@ -907,7 +907,7 @@ class Kanal5():
|
|||||||
|
|
||||||
class Kanal9():
|
class Kanal9():
|
||||||
def handle(self, url):
|
def handle(self, url):
|
||||||
return ("kanal9play.se" in url) or ("kanal5.se" in url)
|
return "kanal5.se" in url
|
||||||
|
|
||||||
def get(self, options, url):
|
def get(self, options, url):
|
||||||
data = get_http_data(url)
|
data = get_http_data(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user