altre ottimizzazioni

This commit is contained in:
marco
2020-03-31 14:49:00 +02:00
parent e44578c4a3
commit ff79e499a9
12 changed files with 41 additions and 30 deletions
+1 -1
View File
@@ -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: