From 2f4f2e8e503c19f04a2f8d394784e6177f58a786 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Mon, 5 Feb 2018 10:33:56 -0500 Subject: [PATCH] hdfull: fix --- plugin.video.alfa/channels/hdfull.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin.video.alfa/channels/hdfull.py b/plugin.video.alfa/channels/hdfull.py index e0fec7f2..1d8f24dd 100644 --- a/plugin.video.alfa/channels/hdfull.py +++ b/plugin.video.alfa/channels/hdfull.py @@ -13,7 +13,7 @@ from core.item import Item from platformcode import config, logger from platformcode import platformtools -host = "https://hdfull.tv" +host = "https://hdfull.me" if config.get_setting('hdfulluser', 'hdfull'): account = True @@ -355,14 +355,14 @@ def fichas(item): if str != "": title += str if item.title == "Buscar...": - tag_type = scrapertools.get_match(url, 'l.tv/([^/]+)/') + bus = host[-4:] + tag_type = scrapertools.find_single_match(url, '%s/([^/]+)/' %bus) title += " - [COLOR blue]" + tag_type.capitalize() + "[/COLOR]" itemlist.append( Item(channel=item.channel, action=action, title=title, url=url, fulltitle=title, thumbnail=thumbnail, show=show, folder=True, contentType=contentType, contentTitle=contentTitle, language =language, infoLabels=infoLabels)) - ## Paginación next_page_url = scrapertools.find_single_match(data, '.raquo;') if next_page_url != "": @@ -760,7 +760,7 @@ def agrupa_datos(data): def extrae_idiomas(bloqueidiomas): - logger.info("idiomas=" + bloqueidiomas) + logger.info() language=[] textoidiomas = '' patronidiomas = '([a-z0-9]+).png"'