From f887238f060258b50dd366a9a9fc7b4077e01936 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 17 Oct 2018 15:40:10 -0300 Subject: [PATCH] Correcciones y novedades MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correcciones: - BlogHorror: Correccón de thumbnail - Dilo: Corrección de idiomas - DosPelis: Correcciión por cambio de estructura - PelisFox: Corrección por cambio de estructura + autoplay - PelisPlus: Corrección en la detección de enlaces - Pelisplusco: Corrección por cambio de estructura - PoseidonHD: Corrección en la detección de enlaces - unfiy: Agregados thumbs asiaticas y telenovelas - Streamango: Agregado nuevo patron Novedades: - PeliculasHD: Nuevo canal - PeliculosHD: Nuevo canal - Tikiwiki: Nuevo servidor - VidCloud: Nuevo servidor --- plugin.video.alfa/channels/bloghorror.json | 28 +- plugin.video.alfa/channels/dilo.json | 2 +- plugin.video.alfa/channels/dospelis.py | 32 +- plugin.video.alfa/channels/peliculashd.json | 88 +++++ plugin.video.alfa/channels/peliculashd.py | 361 +++++++++++++++++ plugin.video.alfa/channels/peliculonhd.json | 88 +++++ plugin.video.alfa/channels/peliculonhd.py | 405 ++++++++++++++++++++ plugin.video.alfa/channels/pelisfox.json | 19 +- plugin.video.alfa/channels/pelisfox.py | 114 +++--- plugin.video.alfa/channels/pelisplus.py | 20 +- plugin.video.alfa/channels/pelisplusco.py | 12 +- plugin.video.alfa/channels/poseidonhd.py | 2 +- plugin.video.alfa/platformcode/unify.py | 2 + plugin.video.alfa/servers/streamango.json | 4 + plugin.video.alfa/servers/tiwikiwi.json | 42 ++ plugin.video.alfa/servers/tiwikiwi.py | 30 ++ plugin.video.alfa/servers/vidcloud.json | 42 ++ plugin.video.alfa/servers/vidcloud.py | 29 ++ 18 files changed, 1197 insertions(+), 123 deletions(-) create mode 100644 plugin.video.alfa/channels/peliculashd.json create mode 100644 plugin.video.alfa/channels/peliculashd.py create mode 100644 plugin.video.alfa/channels/peliculonhd.json create mode 100644 plugin.video.alfa/channels/peliculonhd.py mode change 100755 => 100644 plugin.video.alfa/channels/pelisfox.json mode change 100755 => 100644 plugin.video.alfa/servers/streamango.json create mode 100644 plugin.video.alfa/servers/tiwikiwi.json create mode 100644 plugin.video.alfa/servers/tiwikiwi.py create mode 100644 plugin.video.alfa/servers/vidcloud.json create mode 100644 plugin.video.alfa/servers/vidcloud.py diff --git a/plugin.video.alfa/channels/bloghorror.json b/plugin.video.alfa/channels/bloghorror.json index 23513828..e849f99d 100644 --- a/plugin.video.alfa/channels/bloghorror.json +++ b/plugin.video.alfa/channels/bloghorror.json @@ -3,8 +3,8 @@ "name": "BlogHorror", "active": true, "adult": false, - "language": [""], - "thumbnail": "", + "language": [], + "thumbnail": "https://i.postimg.cc/gcgQhKTL/2018-10-10_20_34_57-_Peliculas_de_Terror_BLOGHORROR.png", "banner": "", "categories": [ "movie", @@ -29,17 +29,9 @@ "visible": true }, { - "id": "include_in_newest_latino", + "id": "include_in_newest_torrent", "type": "bool", - "label": "Incluir en Novedades - Latino", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_infantiles", - "type": "bool", - "label": "Incluir en Novedades - Infantiles", + "label": "Incluir en Novedades - Torrent", "default": true, "enabled": true, "visible": true @@ -51,18 +43,6 @@ "default": true, "enabled": true, "visible": true - }, - { - "id": "filter_languages", - "type": "list", - "label": "Mostrar enlaces en idioma...", - "default": 0, - "enabled": true, - "visible": true, - "lvalues": [ - "No filtrar", - "LAT" - ] } ] } diff --git a/plugin.video.alfa/channels/dilo.json b/plugin.video.alfa/channels/dilo.json index 1d094d6f..89f3952b 100644 --- a/plugin.video.alfa/channels/dilo.json +++ b/plugin.video.alfa/channels/dilo.json @@ -3,7 +3,7 @@ "name": "Dilo", "active": true, "adult": false, - "language": [], + "language": ["cast", "lat"], "thumbnail": "https://s22.postimg.cc/u6efsniqp/dilo.png", "banner": "", "categories": [ diff --git a/plugin.video.alfa/channels/dospelis.py b/plugin.video.alfa/channels/dospelis.py index fcfaf02e..4b02891a 100644 --- a/plugin.video.alfa/channels/dospelis.py +++ b/plugin.video.alfa/channels/dospelis.py @@ -71,7 +71,7 @@ def menu_movies(item): def get_source(url): logger.info() data = httptools.downloadpage(url).data - data = re.sub(r'"|\n|\r|\t| |
|\s{2,}', "", data) + data = re.sub(r'\n|\r|\t| |
|\s{2,}', "", data) return data @@ -92,11 +92,9 @@ def section(item): duplicados=[] data = get_source(host+'/'+item.type) if 'Genero' in item.title: - patron = '
  • (.*?)/i>' + patron = '
  • (.*?)/i>' elif 'Año' in item.title: - patron = '
  • (.*?)' - elif 'Calidad' in item.title: - patron = 'menu-item-object-dtquality menu-item-\d+>(.*?)' + patron = '
  • ([^<]+)' matches = re.compile(patron, re.DOTALL).findall(data) @@ -123,10 +121,12 @@ def list_all(item): itemlist = [] data = get_source(item.url) - if item.type == 'movies': - patron = '
    (.*?).*?quality>(.*?)' - patron += '<\/div>.*?<\/h3>(.*?)<\/span><\/div>.*?flags(.*?)metadata' + + patron = '
    .?([^.*?' + patron +='"quality">([^<]+)<\/div>.?.*?' + patron +='<\/h3>.?([^"]+)<\/span><\/div>.*?"flags"(.*?)metadata' + matches = re.compile(patron, re.DOTALL).findall(data) for scrapedthumbnail, scrapedtitle, quality, scrapedurl, year, lang_data in matches: @@ -148,8 +148,8 @@ def list_all(item): infoLabels={'year':year})) elif item.type == 'tvshows': - patron = '
    (.*?).*?' - patron += '.*?<\/h3>(.*?)<\/span><\/div>' + patron = '
    .?
    .?]+)>