rimosso codice inutile
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -34,8 +34,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
||||
|
||||
url = scrapertools.find_single_match(unpacked, "(?:src):\\\\'([^\\\\]+.mp4)\\\\'")
|
||||
|
||||
from lib import alfaresolver
|
||||
itemlist.append([".mp4" + " [powvideo]", alfaresolver.decode_video_url(url, data)])
|
||||
itemlist.append([".mp4" + " [powvideo]", url])
|
||||
|
||||
itemlist.sort(key=lambda x: x[0], reverse=True)
|
||||
return itemlist
|
||||
|
||||
@@ -37,8 +37,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
||||
|
||||
url = scrapertools.find_single_match(unpacked, '(http[^,]+\.mp4)')
|
||||
|
||||
from lib import alfaresolver
|
||||
itemlist.append([".mp4" + " [streamplay]", alfaresolver.decode_video_url(url, data)])
|
||||
itemlist.append([".mp4" + " [streamplay]", url])
|
||||
|
||||
itemlist.sort(key=lambda x: x[0], reverse=True)
|
||||
|
||||
|
||||
@@ -368,10 +368,6 @@ if __name__ == "__main__":
|
||||
# modo adulto:
|
||||
# sistema actual 0: Nunca, 1:Siempre, 2:Solo hasta que se reinicie Kodi
|
||||
# si es == 2 lo desactivamos.
|
||||
if config.get_platform(True)['num_version'] >= 17.0:
|
||||
from lib.alfaresolver import updated, update_now
|
||||
if not updated():
|
||||
update_now()
|
||||
if config.get_setting("adult_mode") == 2:
|
||||
config.set_setting("adult_mode", 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user