fix seriehd (HDpass)

This commit is contained in:
mac12m99
2021-02-25 20:29:31 +01:00
parent 463212d041
commit d3787e7dc7
+3
View File
@@ -148,5 +148,8 @@ def findvideos(item):
if matches: item.url = support.urlparse.urljoin(url, matches[-1][0]) if matches: item.url = support.urlparse.urljoin(url, matches[-1][0])
return support.hdpass_get_servers(item) return support.hdpass_get_servers(item)
def play(item): def play(item):
if 'hdpass' in item.url:
return support.hdpass_get_url(item) return support.hdpass_get_url(item)
return [item]