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"'