From f045d2ee7cf320995a73272439cb8b7b45f02a42 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Mon, 20 Nov 2017 10:23:41 -0500 Subject: [PATCH] pelisplus: fix --- plugin.video.alfa/channels/pelisplus.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugin.video.alfa/channels/pelisplus.py b/plugin.video.alfa/channels/pelisplus.py index 2815e8a6..f4cde74a 100644 --- a/plugin.video.alfa/channels/pelisplus.py +++ b/plugin.video.alfa/channels/pelisplus.py @@ -145,7 +145,9 @@ def menuseries(item): def search(item, texto): logger.info() texto = texto.replace(" ", "+") - item.url = item.url + texto + item.url = host + 'busqueda/?s=' + texto + if not item.extra: + item.extra = 'peliculas/' try: if texto != '': return lista(item) @@ -217,7 +219,7 @@ def lista(item): else: item.extra = item.extra.rstrip('s/') if item.extra in url: - itemlist.append( + new_item=( Item(channel=item.channel, contentType=tipo, action=accion, @@ -237,7 +239,7 @@ def lista(item): tmdb.set_infoLabels_itemlist(itemlist, seekTmdb=True) - # Encuentra los elementos que no tienen plot y carga las paginas correspondientes para obtenerlo# + #Encuentra los elementos que no tienen plot y carga las paginas correspondientes para obtenerlo# for item in itemlist: if item.infoLabels['plot'] == '': data = httptools.downloadpage(item.url).data