altre ottimizzazioni
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ def mainlist(item):
|
||||
logger.info()
|
||||
|
||||
itemlist = []
|
||||
list_canales, any_active = get_channels_list()
|
||||
# list_canales, any_active = get_channels_list()
|
||||
channel_language = config.get_setting("channel_language", default="auto")
|
||||
if channel_language == 'auto':
|
||||
channel_language = auto_filter()
|
||||
|
||||
@@ -1892,7 +1892,7 @@ def newlist(item):
|
||||
# Creación de nueva lista en filmaffinity
|
||||
itemlist = []
|
||||
if item.accion == "lista":
|
||||
location = httptools.downloadpage(item.url).headers["location"]
|
||||
location = httptools.downloadpage(item.url, only_headers=True).headers["location"]
|
||||
data = httptools.downloadpage("http://m.filmaffinity.com" + location).data
|
||||
itemlist.append(item.clone(action="", title=config.get_localized_string(70338)))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user