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 = '
    .?
    .?]+)>