peliculasgratis: actualizado
This commit is contained in:
@@ -46,20 +46,20 @@ def mainlist(item):
|
|||||||
url= host,
|
url= host,
|
||||||
thumbnail="http://imgur.com/fN2p6qH.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
thumbnail="http://imgur.com/fN2p6qH.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
||||||
contentType="movie"))
|
contentType="movie"))
|
||||||
# itemlist.append(itemlist[-1].clone(title="[COLOR lightskyblue][B]Series[/B][/COLOR]", action="scraper",
|
itemlist.append(itemlist[-1].clone(title="[COLOR lightskyblue][B]Series[/B][/COLOR]", action="scraper",
|
||||||
# url= host + "/lista-de-series",
|
url= host + "/lista-de-series",
|
||||||
# thumbnail="http://imgur.com/Jia27Uc.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
thumbnail="http://imgur.com/Jia27Uc.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
||||||
# contentType="tvshow"))
|
contentType="tvshow"))
|
||||||
itemlist.append(itemlist[-1].clone(title="[COLOR lightskyblue][B]Buscar[/B][/COLOR]",
|
itemlist.append(itemlist[-1].clone(title="[COLOR lightskyblue][B]Buscar[/B][/COLOR]", action = "",
|
||||||
thumbnail="http://imgur.com/mwTwfN7.png", fanart="http://imgur.com/b8OuBR2.jpg"))
|
thumbnail="http://imgur.com/mwTwfN7.png", fanart="http://imgur.com/b8OuBR2.jpg"))
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
itemlist[-1].clone(title="[COLOR lightskyblue][B] Buscar Película[/B][/COLOR]", action="search", url="",
|
itemlist[-1].clone(title="[COLOR lightskyblue][B] Buscar Película[/B][/COLOR]", action="search", url="",
|
||||||
thumbnail="http://imgur.com/mwTwfN7.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
thumbnail="http://imgur.com/mwTwfN7.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
||||||
contentType="movie"))
|
contentType="movie"))
|
||||||
# itemlist.append(
|
itemlist.append(
|
||||||
# itemlist[-1].clone(title="[COLOR lightskyblue][B] Buscar Serie[/B][/COLOR]", action="search", url="",
|
itemlist[-1].clone(title="[COLOR lightskyblue][B] Buscar Serie[/B][/COLOR]", action="search", url="",
|
||||||
# thumbnail="http://imgur.com/mwTwfN7.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
thumbnail="http://imgur.com/mwTwfN7.png", fanart="http://imgur.com/b8OuBR2.jpg",
|
||||||
# contentType="tvshow"))
|
contentType="tvshow"))
|
||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
@@ -119,11 +119,11 @@ def scraper(item):
|
|||||||
patron += 'alt="([^"]+)".*?'
|
patron += 'alt="([^"]+)".*?'
|
||||||
patron += '">([^<]+)<.*?'
|
patron += '">([^<]+)<.*?'
|
||||||
patron += '<div class="l">(.*?)<\/a><h3>.*?'
|
patron += '<div class="l">(.*?)<\/a><h3>.*?'
|
||||||
#patron += '<\/a><\/h3> <span>(.*?)<'
|
patron += '<\/a><\/h3> <span>(.*?)<'
|
||||||
action = "findvideos"
|
action = "findvideos"
|
||||||
matches = scrapertools.find_multiple_matches(bloque_enlaces, patron)
|
matches = scrapertools.find_multiple_matches(bloque_enlaces, patron)
|
||||||
for url, thumb, title, quality, check_idioma in matches:
|
for url, thumb, title, quality, check_idioma, year in matches:
|
||||||
#year = year.strip()
|
year = year.strip()
|
||||||
title_fan = title
|
title_fan = title
|
||||||
title_item = "[COLOR cornflowerblue][B]" + title + "[/B][/COLOR]"
|
title_item = "[COLOR cornflowerblue][B]" + title + "[/B][/COLOR]"
|
||||||
if item.contentType != "movie":
|
if item.contentType != "movie":
|
||||||
@@ -140,20 +140,20 @@ def scraper(item):
|
|||||||
title = title
|
title = title
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel, title=title, fulltitle=title, url=host + url, action=action, thumbnail=thumb,
|
Item(channel=item.channel, title=title, fulltitle=title, url=host + url, action=action, thumbnail=thumb,
|
||||||
fanart="http://imgur.com/nqmJozd.jpg", extra=title_fan + "|" + title_item + "|", show=title,
|
fanart="http://imgur.com/nqmJozd.jpg", extra=title_fan + "|" + title_item + "|" + year, show=title,
|
||||||
contentType=item.contentType, folder=True, language = idiomas))
|
contentType=item.contentType, folder=True, language = idiomas, infoLabels={"year":year}))
|
||||||
## Paginación
|
## Paginación
|
||||||
#tmdb.set_infoLabels(itemlist)
|
tmdb.set_infoLabels(itemlist)
|
||||||
#if year:
|
if year:
|
||||||
next = scrapertools.find_single_match(data, 'href="([^"]+)" title="Siguiente página">')
|
next = scrapertools.find_single_match(data, 'href="([^"]+)" title="Siguiente página">')
|
||||||
if len(next) > 0:
|
if len(next) > 0:
|
||||||
url = next
|
url = next
|
||||||
if not "http" in url:
|
if not "http" in url:
|
||||||
url = host + url
|
url = host + url
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel, action="scraper", title="[COLOR floralwhite][B]Siguiente[/B][/COLOR]",
|
Item(channel=item.channel, action="scraper", title="[COLOR floralwhite][B]Siguiente[/B][/COLOR]",
|
||||||
url=url, thumbnail="http://imgur.com/jhRFAmk.png", fanart="http://imgur.com/nqmJozd.jpg",
|
url=url, thumbnail="http://imgur.com/jhRFAmk.png", fanart="http://imgur.com/nqmJozd.jpg",
|
||||||
extra=item.extra, contentType=item.contentType, folder=True))
|
extra=item.extra, contentType=item.contentType, folder=True))
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user