fix hdpass

This commit is contained in:
marco
2020-02-15 18:40:33 +01:00
parent 3272766ef0
commit ec0aaf7c91
5 changed files with 40 additions and 31 deletions
+4
View File
@@ -130,6 +130,7 @@ def newest(categoria):
except:
import sys
for line in sys.exc_info():
from platformcode import logger
logger.error("{0}".format(line))
return []
@@ -138,3 +139,6 @@ def newest(categoria):
def findvideos(item):
support.log('findvideos', item)
return support.hdpass_get_servers(item)
def play(item):
return support.hdpass_get_url(item)
+3
View File
@@ -126,3 +126,6 @@ def newest(categoria):
def findvideos(item):
support.log('findvideos ->', item)
return support.hdpass_get_servers(item)
def play(item):
return support.hdpass_get_url(item)
+3
View File
@@ -142,3 +142,6 @@ def findvideos(item):
matches = support.match(url,patron=r'<a href="([^"]+)">(\d+)<', patronBlock=r'<h3>EPISODIO</h3><ul>(.*?)</ul>').matches
if matches: item.url = support.urlparse.urljoin(url, matches[-1][0])
return support.hdpass_get_servers(item)
def play(item):
return support.hdpass_get_url(item)