diff --git a/plugin.video.alfa/channels/peliculasrey.py b/plugin.video.alfa/channels/peliculasrey.py
index 047fb824..66dbf1e3 100755
--- a/plugin.video.alfa/channels/peliculasrey.py
+++ b/plugin.video.alfa/channels/peliculasrey.py
@@ -9,18 +9,18 @@ from core import servertools
from core.item import Item
from platformcode import logger, config
+host = "http://www.peliculasrey.com/"
def mainlist(item):
logger.info()
itemlist = []
- itemlist.append(
- Item(channel=item.channel, action="PorFecha", title="Año de Lanzamiento", url="http://www.peliculasrey.com"))
- itemlist.append(Item(channel=item.channel, action="Idiomas", title="Idiomas", url="http://www.peliculasrey.com"))
- itemlist.append(
- Item(channel=item.channel, action="calidades", title="Por calidad", url="http://www.peliculasrey.com"))
- itemlist.append(Item(channel=item.channel, action="generos", title="Por género", url="http://www.peliculasrey.com"))
- itemlist.append(Item(channel=item.channel, action="search", title="Buscar...", url="http://www.peliculasrey.com"))
+ itemlist.append(Item(channel=item.channel, action="peliculas", title="Recientes", url=host))
+ itemlist.append(Item(channel=item.channel, action="PorFecha", title="Año de Lanzamiento", url=host))
+ itemlist.append(Item(channel=item.channel, action="Idiomas", title="Idiomas", url=host))
+ itemlist.append(Item(channel=item.channel, action="calidades", title="Por calidad", url=host))
+ itemlist.append(Item(channel=item.channel, action="generos", title="Por género", url=host))
+ itemlist.append(Item(channel=item.channel, action="search", title="Buscar...", url=host))
return itemlist
@@ -31,7 +31,6 @@ def PorFecha(item):
# Descarga la pagina
data = httptools.downloadpage(item.url).data
data = scrapertools.find_single_match(data, '')
- logger.info("data=" + data)
# Extrae las entradas (carpetas)
patron = '(.*?)')
- logger.info("data=" + data)
# Extrae las entradas (carpetas)
patron = '(.*?)')
- logger.info("data=" + data)
# Extrae las entradas (carpetas)
patron = '(.*?)')
- logger.info("data=" + data)
-
- # Extrae las entradas (carpetas)
patron = '