Merge pull request #14 from Intel11/patch-1
Actualizado fastplay, vimeo, allcalidad
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"adult": false,
|
||||
"language": "es",
|
||||
"thumbnail": "https://s22.postimg.org/irnlwuizh/allcalidad1.png",
|
||||
"bannermenu": "https://s22.postimg.org/9y1athlep/allcalidad2.png",
|
||||
"banner": "https://s22.postimg.org/9y1athlep/allcalidad2.png",
|
||||
"version": 1,
|
||||
"changes": [
|
||||
{
|
||||
@@ -43,4 +43,4 @@
|
||||
"visible": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ def findvideos(item):
|
||||
data = httptools.downloadpage(item.url).data
|
||||
patron = '(?s)fmi(.*?)thead'
|
||||
bloque = scrapertools.find_single_match(data, patron)
|
||||
match = scrapertools.find_multiple_matches(bloque, '(?is)iframe .*?src="([^"]+)')
|
||||
match = scrapertools.find_multiple_matches(bloque, '(?is)(?:iframe|script) .*?src="([^"]+)')
|
||||
for url in match:
|
||||
server = servertools.get_server_from_url(url)
|
||||
titulo = "Ver en: " + server
|
||||
@@ -126,6 +126,8 @@ def findvideos(item):
|
||||
titulo = "[COLOR = yellow]Ver trailer: " + server + "[/COLOR]"
|
||||
elif "directo" in server:
|
||||
continue
|
||||
elif "vimeo" in url:
|
||||
url += "|" + "http://www.allcalidad.com"
|
||||
itemlist.append(
|
||||
Item(channel = item.channel,
|
||||
action = "play",
|
||||
@@ -139,7 +141,7 @@ def findvideos(item):
|
||||
itemlist.append(Item(channel = item.channel))
|
||||
itemlist.append(item.clone(channel="trailertools", title="Buscar Tráiler", action="buscartrailer", context="",
|
||||
text_color="magenta"))
|
||||
# Opción "Añadir esta película a la biblioteca de XBMC"
|
||||
# Opción "Añadir esta película a la biblioteca de KODI"
|
||||
if item.extra != "library":
|
||||
if config.get_videolibrary_support():
|
||||
itemlist.append(Item(channel=item.channel, title="Añadir a la videoteca", text_color="green",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"adult": false,
|
||||
"language": "es",
|
||||
"thumbnail": "https://s16.postimg.org/g4lzydrmd/vernovelasonline1.png",
|
||||
"bannermenu": "https://s16.postimg.org/w44nhxno5/vernovelasonline2.png",
|
||||
"banner": "https://s16.postimg.org/w44nhxno5/vernovelasonline2.png",
|
||||
"version": 1,
|
||||
"changes": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user