diff --git a/plugin.video.alfa/addon.xml b/plugin.video.alfa/addon.xml index 3635dd22..70f00b92 100755 --- a/plugin.video.alfa/addon.xml +++ b/plugin.video.alfa/addon.xml @@ -1,5 +1,5 @@ - + @@ -19,17 +19,13 @@ [B]Estos son los cambios para esta versión:[/B] [COLOR green][B]Arreglos[/B][/COLOR] - ¤ CineDeTodo ¤ CinemaHD ¤ PelisPlus - ¤ pack +18 ¤ alldebrid ¤ fembed - ¤ ZonaWorld ¤ SeriesPapaya ¤ inkaseries - ¤ maxipelis24 ¤ animeflv ¤ anitoons - ¤ serieslan - [COLOR green][B]Novedades[/B][/COLOR] - ¤ PelisRex ¤ ReyAnime ¤ pelis123 - ¤ abtoon - - Agradecimientos a @diegotcba y @chivmalev por colaborar con ésta de versión + ¤ allcalidad ¤ canalpelis ¤ ciberpeliculashd + ¤ pelisplay ¤ doramasmp4 ¤ Newpct1 + ¤ AnimeBoom ¤ AnimeID ¤ abtoon + ¤ mixtoon ¤ Animeflv + [COLOR green][B]Novedades[/B][/COLOR] + ¤ Mirapeliculas Navega con Kodi por páginas web para ver sus videos de manera fácil. Browse web pages using Kodi diff --git a/plugin.video.alfa/channels/allcalidad.py b/plugin.video.alfa/channels/allcalidad.py index bbeb9ec2..3cd981d8 100755 --- a/plugin.video.alfa/channels/allcalidad.py +++ b/plugin.video.alfa/channels/allcalidad.py @@ -19,7 +19,7 @@ list_servers = ['rapidvideo', 'streamango', 'fastplay', 'flashx', 'openload', 'v __channel__='allcalidad' -host = "http://allcalidad.net/" +host = "https://allcalidad.net/" try: __modo_grafico__ = config.get_setting('modo_grafico', __channel__) diff --git a/plugin.video.alfa/channels/animemovil.json b/plugin.video.alfa/channels/animemovil.json deleted file mode 100644 index f3a4f840..00000000 --- a/plugin.video.alfa/channels/animemovil.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "id": "animemovil", - "name": "Animemovil", - "active": true, - "adult": false, - "language": ["cast", "lat"], - "thumbnail": "https://s1.postimg.cc/92ji7stii7/animemovil1.png", - "banner": "", - "categories": [ - "anime" - ], - "settings": [ - { - "id": "modo_grafico", - "type": "bool", - "label": "Buscar información extra", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_global_search", - "type": "bool", - "label": "Incluir en busqueda global", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "perfil", - "type": "list", - "label": "Perfil de color", - "default": 0, - "enabled": true, - "visible": true, - "lvalues": [ - "Perfil 3", - "Perfil 2", - "Perfil 1" - ] - } - ] -} diff --git a/plugin.video.alfa/channels/animemovil.py b/plugin.video.alfa/channels/animemovil.py deleted file mode 100644 index 0cd3153a..00000000 --- a/plugin.video.alfa/channels/animemovil.py +++ /dev/null @@ -1,338 +0,0 @@ -# -*- coding: utf-8 -*- - -import re - -from channels import renumbertools -from core import httptools -from core import servertools -from core import jsontools -from core import scrapertools -from core.item import Item -from platformcode import platformtools, config, logger - - - -__modo_grafico__ = config.get_setting('modo_grafico', 'animemovil') -__perfil__ = '' - -# Fijar perfil de color -perfil = [['0xFFFFE6CC', '0xFFFFCE9C', '0xFF994D00', '0xFFFE2E2E', '0xFFFFD700'], - ['0xFFA5F6AF', '0xFF5FDA6D', '0xFF11811E', '0xFFFE2E2E', '0xFFFFD700'], - ['0xFF58D3F7', '0xFF2E9AFE', '0xFF2E64FE', '0xFFFE2E2E', '0xFFFFD700']] -if __perfil__ < 3: - color1, color2, color3, color4, color5 = perfil[__perfil__] -else: - color1 = color2 = color3 = color4 = color5 = "" - -host = "http://animemovil.com" - - -def mainlist(item): - logger.info() - - itemlist = [] - - itemlist.append(Item(channel=item.channel, action="recientes", title="Episodios Recientes", thumbnail=item.thumbnail, - url=host, text_color=color1, contentType="tvshow", extra="recientes")) - - itemlist.append(Item(channel=item.channel, action="listado", title="Anime", thumbnail=item.thumbnail, - url=host+'/api/buscador?q=&letra=ALL&genero=ALL&estado=2&offset=0&limit=20', text_color=color1, contentType="tvshow", extra="recientes")) - - itemlist.append(Item(channel=item.channel, action="list_by_json", title="En emisión", thumbnail=item.thumbnail, - text_color=color2, contentType="tvshow")) - itemlist.append(Item(channel=item.channel, action="indices", title="Índices", thumbnail=item.thumbnail, - text_color=color2)) - - - itemlist.append(Item(channel=item.channel, action="search", title="Buscar...", - thumbnail=item.thumbnail, text_color=color3)) - - itemlist.append(item.clone(title="Configurar canal", action="openconfig", text_color=color5, folder=False)) - if renumbertools.context: - itemlist = renumbertools.show_option(item.channel, itemlist) - - - return itemlist - - -def openconfig(item): - ret = platformtools.show_channel_settings() - platformtools.itemlist_refresh() - return ret - - -def search(item, texto): - item.url = "%s/api/buscador?q=%s&letra=ALL&genero=ALL&estado=2&offset=0&limit=30" % (host, texto.replace(" ", "+")) - return list_by_json(item) - - -def recientes(item): - logger.info() - item.contentType = "tvshow" - itemlist = [] - - data = httptools.downloadpage(item.url).data - data = re.sub(r'\n|\s{2,}','', data) - - bloque = scrapertools.find_single_match(data, '
    (.*?)
') - patron = '
  • ') - patron = '') patron = '
  • (.*?)
  • ' matches = re.compile(patron,re.DOTALL).findall(data) scrapertools.printMatches(matches) for scrapedurl,scrapedtitle in matches: scrapedplot = "" scrapedthumbnail = "" - scrapedtitle = str(scrapedtitle) - scrapedurl = host + scrapedurl + scrapedurl = urlparse.urljoin(item.url,scrapedurl) thumbnail = urlparse.urljoin(item.url,scrapedthumbnail) - itemlist.append( Item(channel=item.channel, action="peliculas", title=scrapedtitle , url=scrapedurl , thumbnail=scrapedthumbnail , plot=scrapedplot , folder=True) ) + itemlist.append( Item(channel=item.channel, action="lista", title=scrapedtitle, url=scrapedurl, + thumbnail=scrapedthumbnail, plot=scrapedplot) ) return itemlist -def peliculas(item): +def lista(item): logger.info() itemlist = [] data = httptools.downloadpage(item.url).data - patron = '
    .*?(.*?)
    ' + patron = '
    .*?' + patron += 'Next') - if next_page_url!="": - next_page_url = urlparse.urljoin(item.url,next_page_url) - itemlist.append( Item(channel=item.channel , action="peliculas" , title="Página Siguiente >>" , text_color="blue", url=next_page_url , folder=True) ) + itemlist.append( Item(channel=item.channel, action="play", title=title, url=scrapedurl, + thumbnail=scrapedthumbnail, fanart=scrapedthumbnail, plot=scrapedplot) ) + next_page = scrapertools.find_single_match(data,'Next') + if next_page!="": + next_page = urlparse.urljoin(item.url,next_page) + itemlist.append(item.clone(action="lista", title="Página Siguiente >>", text_color="blue", url=next_page) ) return itemlist def play(item): logger.info() data = scrapertools.cachePage(item.url) - url = scrapertools.find_single_match(data,'