From 56c16f2922deb89b0dedd0d0da14308a692656d4 Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sun, 12 Nov 2017 17:44:40 -0500 Subject: [PATCH 01/20] Eliminado enlace de youtube inexistente --- plugin.video.alfa/channels/cinehindi.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugin.video.alfa/channels/cinehindi.py b/plugin.video.alfa/channels/cinehindi.py index 4dfc127e..abcb64b2 100755 --- a/plugin.video.alfa/channels/cinehindi.py +++ b/plugin.video.alfa/channels/cinehindi.py @@ -132,14 +132,18 @@ def findvideos(item): logger.info() itemlist = [] + itemlist1 = [] data = httptools.downloadpage(item.url).data - itemlist.extend(servertools.find_video_items(data=data)) + itemlist1.extend(servertools.find_video_items(data=data)) patron_show = '

([^<]+)<\/h1>' show = scrapertools.find_single_match(data, patron_show) - for videoitem in itemlist: + for videoitem in itemlist1: videoitem.channel = item.channel - if config.get_videolibrary_support() and len(itemlist) > 0: + for i in range(len(itemlist1)): + if not 'youtube' in itemlist1[i].title: + itemlist.append(itemlist1[i]) + if config.get_videolibrary_support() and len(itemlist) > 0 and item.contentChannel!='videolibrary': itemlist.append( Item(channel=item.channel, title='[COLOR yellow]Añadir esta pelicula a la videoteca[/COLOR]', url=item.url, action="add_pelicula_to_library", extra="findvideos", contentTitle=show)) From 7ae8b203b6196563d0df4a5a5bd32e8d194ed84f Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sun, 12 Nov 2017 17:52:34 -0500 Subject: [PATCH 02/20] AnitoonsTV: detalles esteticos --- plugin.video.alfa/channels/anitoonstv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/anitoonstv.py b/plugin.video.alfa/channels/anitoonstv.py index 819a9275..417ef1f1 100644 --- a/plugin.video.alfa/channels/anitoonstv.py +++ b/plugin.video.alfa/channels/anitoonstv.py @@ -127,7 +127,7 @@ def episodios(item): plot=scrapedplot, url=url, show=show)) if config.get_videolibrary_support() and len(itemlist) > 0: - itemlist.append(Item(channel=item.channel, title="Añadir esta serie a la videoteca", url=item.url, + itemlist.append(Item(channel=item.channel, title="[COLOR yellow]Añadir esta serie a la videoteca[/COLOR]", url=item.url, action="add_serie_to_library", extra="episodios", show=show)) return itemlist From 93451158690b85d98c4232ad6656b0a200037541 Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sun, 12 Nov 2017 17:58:43 -0500 Subject: [PATCH 03/20] =?UTF-8?q?Asialiveaction:=20Eliminado=20enlace=20a?= =?UTF-8?q?=20"agregar=20a=20videoteca"=20cuando=20esto=20ya=20ocurri?= =?UTF-8?q?=C3=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/asialiveaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/asialiveaction.py b/plugin.video.alfa/channels/asialiveaction.py index 1277d2fb..fc008f75 100644 --- a/plugin.video.alfa/channels/asialiveaction.py +++ b/plugin.video.alfa/channels/asialiveaction.py @@ -180,7 +180,7 @@ def findvideos(item): show = item.show for videoitem in itemlist: videoitem.channel = item.channel - if config.get_videolibrary_support() and len(itemlist) > 0 and item.contentType=="movie": + if config.get_videolibrary_support() and len(itemlist) > 0 and item.contentType=="movie" and item.contentChannel!='videolibrary': itemlist.append( Item(channel=item.channel, title='[COLOR yellow]Añadir esta pelicula a la videoteca[/COLOR]', url=item.url, action="add_pelicula_to_library", extra="findvideos", contentTitle=show)) From 8082e1b244c50e5da3f896e2acd88bc6214162fe Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sun, 12 Nov 2017 18:08:11 -0500 Subject: [PATCH 04/20] =?UTF-8?q?CartoonLatino:=20Detalles=20est=C3=A9tico?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/cartoonlatino.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/cartoonlatino.py b/plugin.video.alfa/channels/cartoonlatino.py index d356f4f8..48b47c0a 100644 --- a/plugin.video.alfa/channels/cartoonlatino.py +++ b/plugin.video.alfa/channels/cartoonlatino.py @@ -150,7 +150,7 @@ def episodios(item): itemlist.append(Item(channel=item.channel, action="findvideos", title=title, url=url, show=show)) if config.get_videolibrary_support() and len(itemlist) > 0: - itemlist.append(Item(channel=item.channel, title="Añadir " + show + " a la videoteca", url=item.url, + itemlist.append(Item(channel=item.channel, title="[COLOR yellow]Añadir " + show + " a la videoteca[/COLOR]", url=item.url, action="add_serie_to_library", extra="episodios", show=show)) return itemlist From acf7f9a27a8a9628dd51eb36b7bccca3016023d9 Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sun, 12 Nov 2017 19:19:53 -0500 Subject: [PATCH 05/20] =?UTF-8?q?Mundiseries:=20Detalles=20est=C3=A9ticos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.video.alfa/channels/mundiseries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/channels/mundiseries.py b/plugin.video.alfa/channels/mundiseries.py index 581501a3..cce85193 100644 --- a/plugin.video.alfa/channels/mundiseries.py +++ b/plugin.video.alfa/channels/mundiseries.py @@ -76,7 +76,7 @@ def episodios(item): title=title, url=url, show=show)) if config.get_videolibrary_support() and len(itemlist) > 0: - itemlist.append(Item(channel=item.channel, title="Añadir Temporada/Serie a la biblioteca de Kodi", url=item.url, + itemlist.append(Item(channel=item.channel, title="[COLOR blue]Añadir Temporada/Serie a la biblioteca de Kodi[/COLOR]", url=item.url, action="add_serie_to_library", extra="episodios", show=show)) return itemlist From a3337df4da8c32694f539171614f6e4ba6296300 Mon Sep 17 00:00:00 2001 From: danielr460 Date: Sun, 12 Nov 2017 19:21:03 -0500 Subject: [PATCH 06/20] Peliculashindu: Arreglado canal --- plugin.video.alfa/channels/peliculashindu.py | 28 ++++++++------------ 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/plugin.video.alfa/channels/peliculashindu.py b/plugin.video.alfa/channels/peliculashindu.py index c8204155..76cdbb6e 100755 --- a/plugin.video.alfa/channels/peliculashindu.py +++ b/plugin.video.alfa/channels/peliculashindu.py @@ -33,15 +33,14 @@ def mainlist(item): def explorar(item): logger.info() itemlist = list() - url1 = str(item.url) + url1 = item.title data = httptools.downloadpage(host).data data = re.sub(r"\n|\r|\t|\s{2}| ", "", data) - # logger.info("loca :"+url1+" aaa"+data) - if 'genero' in url1: - patron = '

Pel.+?neros<\/h3>(.+?)<\/h3>' - if 'alfabetico' in url1: - patron = '<\/li><\/ul>

Pel.+?tico<\/h3>(.+?)<\/h3>' - if 'año' in url1: + if 'Género' in url1: + patron = '
.+?

Pel.+?neros<\/h3>(.+?)<\/h3>' + if 'Listado Alfabético' in url1: + patron = '<\/li><\/ul>.+?

Pel.+?tico<\/h3>(.+?)<\/h3>' + if 'Año' in url1: patron = '