From d1c2778dd137726ad68d37eb8cb13ef4aa7652cf Mon Sep 17 00:00:00 2001
From: Kingbox <37674310+lopezvg@users.noreply.github.com>
Date: Wed, 4 Jul 2018 18:25:16 +0200
Subject: [PATCH] MejorTorrent: mejora interna
---
plugin.video.alfa/channels/mejortorrent.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin.video.alfa/channels/mejortorrent.py b/plugin.video.alfa/channels/mejortorrent.py
index 6f270d65..8fc53494 100755
--- a/plugin.video.alfa/channels/mejortorrent.py
+++ b/plugin.video.alfa/channels/mejortorrent.py
@@ -495,7 +495,7 @@ def listado_busqueda(item):
matches += re.compile(patron, re.DOTALL).findall(data)
matches_cnt = len(matches)
- if not matches and not 'Se han encontrado 0 resultados.' in data: #error
+ if not matches and not 'Se han encontrado 0 resultados.' and not "href='/juego-descargar-torrent" in data: #error
logger.error("ERROR 02: LISTADO_BUSQUEDA: Ha cambiado la estructura de la Web " + " / PATRON: " + patron + " / DATA: " + data)
itemlist.append(item.clone(action='', title=item.channel.capitalize() + ': ERROR 02: LISTADO_BUSQUEDA: Ha cambiado la estructura de la Web. Reportar el error con el log'))
return itemlist #si no hay más datos, algo no funciona, pintamos lo que tenemos