diff --git a/plugin.video.alfa/channels/estrenosgo.py b/plugin.video.alfa/channels/estrenosgo.py index 58fdddad..c087cc9c 100644 --- a/plugin.video.alfa/channels/estrenosgo.py +++ b/plugin.video.alfa/channels/estrenosgo.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- import re from channelselector import get_thumb @@ -53,8 +53,7 @@ def listado(item): patron += 'Categoria:\s*([^&]+)»\s*([^<]+).*?' patron += '
(.*?)
' - matches = re.compile(patron, re.DOTALL).findall(data) - + matches = scrapertools.find_multiple_matches(data, patron) for thumbnail, title, cat_padres, cat_hijos, opciones in matches: # logger.debug(thumbnail + "\n" + title + "\n" + cat_padres + "\n" + cat_hijos + "\n" + opciones) # Obtenemos el año del titulo y eliminamos lo q sobre @@ -70,7 +69,7 @@ def listado(item): thumbnail = HOST + thumbnail[:-5] + 'b' + thumbnail[-4:] # Buscamos opcion de ver online - patron = '