
Enlaces[^<]+'
patron += '
([^<]+)[^<]+'
@@ -222,19 +202,15 @@ def enlaces(item):
matches = re.compile(patron, re.DOTALL).findall(data)
scrapertools.printMatches(matches)
- logger.debug("matches=" + repr(matches))
for thumbnail, usuario, fecha, id, id2, servidores in matches:
- #








patronservidores = '

Date: Wed, 22 Nov 2017 09:18:05 -0500
Subject: [PATCH 08/13] animemovil: fix buscador
---
plugin.video.alfa/channels/animemovil.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/plugin.video.alfa/channels/animemovil.py b/plugin.video.alfa/channels/animemovil.py
index fe586fa3..e26f0c97 100644
--- a/plugin.video.alfa/channels/animemovil.py
+++ b/plugin.video.alfa/channels/animemovil.py
@@ -96,7 +96,6 @@ def recientes(item):
action = "peliculas"
if not thumb.startswith("http"):
thumb = "http:%s" % thumb
- action ="findvideos"
infoLabels = {'filtro': {"original_language": "ja"}.items()}
itemlist.append(item.clone(action=action, title=title, url=url, thumbnail=thumb, text_color=color3,
contentTitle=contentTitle, contentSerieName=show, infoLabels=infoLabels,
From 0dbf9c544a5da8abd96a73d8298274ae9d06ed91 Mon Sep 17 00:00:00 2001
From: Intel1 <25161862+Intel11@users.noreply.github.com>
Date: Wed, 22 Nov 2017 09:42:26 -0500
Subject: [PATCH 09/13] Update infoplus.py
---
plugin.video.alfa/channels/infoplus.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugin.video.alfa/channels/infoplus.py b/plugin.video.alfa/channels/infoplus.py
index fff79d6a..bd20e668 100755
--- a/plugin.video.alfa/channels/infoplus.py
+++ b/plugin.video.alfa/channels/infoplus.py
@@ -177,7 +177,8 @@ class main(xbmcgui.WindowDialog):
self.infoLabels["originaltitle"] = otmdb.result.get("original_title",
otmdb.result.get("original_name", ""))
self.trailers = otmdb.get_videos()
- self.infoLabels["duration"] = int(otmdb.result.get("runtime", 0))
+ if otmdb.result.get("runtime", 0):
+ self.infoLabels["duration"] = int(otmdb.result.get("runtime", 0))
else:
self.trailers = []
From d6f73e1f06b8a3a51e70da5f36641c7b782075e2 Mon Sep 17 00:00:00 2001
From: Intel1 <25161862+Intel11@users.noreply.github.com>
Date: Wed, 22 Nov 2017 10:14:29 -0500
Subject: [PATCH 10/13] Update rapidvideo.py
---
plugin.video.alfa/servers/rapidvideo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin.video.alfa/servers/rapidvideo.py b/plugin.video.alfa/servers/rapidvideo.py
index a6584eef..b92df605 100755
--- a/plugin.video.alfa/servers/rapidvideo.py
+++ b/plugin.video.alfa/servers/rapidvideo.py
@@ -23,7 +23,7 @@ def test_video_exists(page_url):
if "Object not found" in response.data:
return False, "[Rapidvideo] El archivo no existe o ha sido borrado"
- if reponse.code == 500:
+ if response.code == 500:
return False, "[Rapidvideo] Error de servidor, inténtelo más tarde."
return True, ""
From 2848692d79abe1cff94cef99063afaf73c0363a3 Mon Sep 17 00:00:00 2001
From: Intel1 <25161862+Intel11@users.noreply.github.com>
Date: Wed, 22 Nov 2017 14:25:14 -0500
Subject: [PATCH 11/13] cinefox: fix
---
plugin.video.alfa/channels/cinefox.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin.video.alfa/channels/cinefox.py b/plugin.video.alfa/channels/cinefox.py
index 4fd1983b..20949389 100644
--- a/plugin.video.alfa/channels/cinefox.py
+++ b/plugin.video.alfa/channels/cinefox.py
@@ -512,7 +512,7 @@ def episodios(item):
else:
action = "menu_info_episode"
- seasons = scrapertools.find_multiple_matches(data, '
]+>]+>Sinopsis ([^<]+)')
- item.plot = scrapertoolsV2.decodeHtmlentities(item.plot)
-
- patron = '(/embed/[^"]+).*?'
- patron += 'quality text-overflow ">([^<]+).*?'
- patron += 'title="([^"]+)'
+ patron = '/\?tmdb=[^"]+.*?domain=(?:www\.|)([^\.]+).*?text-overflow.*?href="([^"]+).*?'
+ patron += '\[([^\]]+)\].*?\[([^\]]+)\]'
matches = scrapertools.find_multiple_matches(data, patron)
-
- for url, calidad, idioma in matches:
- if 'embed' in url:
- url = "http://widget.olimpo.link" + url
- data = httptools.downloadpage(url).data
- url = scrapertools.find_single_match(data, 'iframe src="([^"]+)')
- sublist.append(item.clone(channel=item.channel, action="play", url=url, folder=False, text_color=color1, quality=calidad.strip(),
- language=idioma.strip()))
- sublist = servertools.get_servers_itemlist(sublist, lambda i: "Ver en %s %s" % (i.server, i.quality), True)
-
- # Añadir servidores encontrados, agrupandolos por idioma
+ for server, url, idioma, calidad in matches:
+ sublist.append(item.clone(channel=item.channel, action="play", url=url, folder=False, text_color=color1, quality=calidad.strip(),
+ language=idioma.strip(),
+ title="Ver en %s %s" %(server, calidad)
+ ))
for k in ["Español", "Latino", "Subtitulado", "Ingles"]:
lista_idioma = filter(lambda i: i.language == k, sublist)
if lista_idioma:
@@ -221,3 +207,12 @@ def findvideos(item):
contentTitle=item.contentTitle, extra="library", thumbnail=thumbnail_host))
return itemlist
+
+def play(item):
+ logger.info()
+ itemlist = []
+ ddd = httptools.downloadpage(item.url).data
+ url = "http://olimpo.link" + scrapertools.find_single_match(ddd, '