hdfull: fix
This commit is contained in:
@@ -13,7 +13,7 @@ from core.item import Item
|
|||||||
from platformcode import config, logger
|
from platformcode import config, logger
|
||||||
from platformcode import platformtools
|
from platformcode import platformtools
|
||||||
|
|
||||||
host = "https://hdfull.tv"
|
host = "https://hdfull.me"
|
||||||
|
|
||||||
if config.get_setting('hdfulluser', 'hdfull'):
|
if config.get_setting('hdfulluser', 'hdfull'):
|
||||||
account = True
|
account = True
|
||||||
@@ -355,14 +355,14 @@ def fichas(item):
|
|||||||
if str != "": title += str
|
if str != "": title += str
|
||||||
|
|
||||||
if item.title == "Buscar...":
|
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]"
|
title += " - [COLOR blue]" + tag_type.capitalize() + "[/COLOR]"
|
||||||
|
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel, action=action, title=title, url=url, fulltitle=title, thumbnail=thumbnail,
|
Item(channel=item.channel, action=action, title=title, url=url, fulltitle=title, thumbnail=thumbnail,
|
||||||
show=show, folder=True, contentType=contentType, contentTitle=contentTitle,
|
show=show, folder=True, contentType=contentType, contentTitle=contentTitle,
|
||||||
language =language, infoLabels=infoLabels))
|
language =language, infoLabels=infoLabels))
|
||||||
|
|
||||||
## Paginación
|
## Paginación
|
||||||
next_page_url = scrapertools.find_single_match(data, '<a href="([^"]+)">.raquo;</a>')
|
next_page_url = scrapertools.find_single_match(data, '<a href="([^"]+)">.raquo;</a>')
|
||||||
if next_page_url != "":
|
if next_page_url != "":
|
||||||
@@ -760,7 +760,7 @@ def agrupa_datos(data):
|
|||||||
|
|
||||||
|
|
||||||
def extrae_idiomas(bloqueidiomas):
|
def extrae_idiomas(bloqueidiomas):
|
||||||
logger.info("idiomas=" + bloqueidiomas)
|
logger.info()
|
||||||
language=[]
|
language=[]
|
||||||
textoidiomas = ''
|
textoidiomas = ''
|
||||||
patronidiomas = '([a-z0-9]+).png"'
|
patronidiomas = '([a-z0-9]+).png"'
|
||||||
|
|||||||
Reference in New Issue
Block a user