From dd663467608a9bf939ea605bf5e13e579f89ef46 Mon Sep 17 00:00:00 2001 From: paezner Date: Wed, 30 Jan 2019 15:38:06 +0100 Subject: [PATCH] PELIS123 y la revision de los ultimos porno --- plugin.video.alfa/channels/pelis123.json | 63 +++ plugin.video.alfa/channels/pelis123.py | 359 ++++++++++++++++++ plugin.video.alfa/channels/pornboss.py | 26 +- plugin.video.alfa/channels/sexofilm.py | 51 +-- plugin.video.alfa/channels/spankbang.py | 27 +- plugin.video.alfa/channels/streamingporn.py | 30 +- plugin.video.alfa/channels/streamporno.py | 25 +- plugin.video.alfa/channels/submityouflicks.py | 42 +- plugin.video.alfa/channels/sunporno.py | 56 ++- plugin.video.alfa/channels/tabooshare.py | 23 +- plugin.video.alfa/channels/tryboobs.py | 61 ++- plugin.video.alfa/channels/tubedupe.py | 38 +- plugin.video.alfa/channels/videosXYZ.py | 21 +- plugin.video.alfa/channels/vintagetube.py | 47 +-- plugin.video.alfa/channels/vintagexxxsex.py | 50 ++- plugin.video.alfa/channels/vporn.py | 53 +-- plugin.video.alfa/channels/watchpornfree.py | 34 +- .../channels/webpeliculasporno.py | 37 +- plugin.video.alfa/channels/woodrocket.py | 6 +- plugin.video.alfa/channels/xozilla.py | 74 ++-- plugin.video.alfa/channels/xtapes.py | 71 ++-- plugin.video.alfa/channels/xxxdan.py | 68 ++-- plugin.video.alfa/channels/xxxparodyhd.py | 39 +- plugin.video.alfa/channels/xxxstreams.py | 58 +-- plugin.video.alfa/channels/youjizz.py | 49 ++- plugin.video.alfa/channels/youporn.py | 79 ++-- plugin.video.alfa/channels/yuuk.py | 35 +- .../media/channels/thumb/pelis123.png | Bin 0 -> 2341 bytes 28 files changed, 995 insertions(+), 527 deletions(-) create mode 100644 plugin.video.alfa/channels/pelis123.json create mode 100644 plugin.video.alfa/channels/pelis123.py create mode 100644 plugin.video.alfa/resources/media/channels/thumb/pelis123.png diff --git a/plugin.video.alfa/channels/pelis123.json b/plugin.video.alfa/channels/pelis123.json new file mode 100644 index 00000000..83481820 --- /dev/null +++ b/plugin.video.alfa/channels/pelis123.json @@ -0,0 +1,63 @@ +{ + "id": "pelis123", + "name": "Pelis123", + "active": true, + "adult": false, + "language": ["cast", "lat"], + "thumbnail": "pelis123.png", + "banner": "", + "categories": [ + "movie", + "tvshow", + "vos" + ], + "settings": [ + { + "id": "filter_languages", + "type": "list", + "label": "Mostrar enlaces en idioma...", + "default": 0, + "enabled": true, + "visible": true, + "lvalues": [ + "No filtrar", + "LAT", + "ESP", + "VOSE" + ] + }, + { + "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": "comprueba_enlaces", + "type": "bool", + "label": "Verificar si los enlaces existen", + "default": false, + "enabled": true, + "visible": true + }, + { + "id": "comprueba_enlaces_num", + "type": "list", + "label": "Número de enlaces a verificar", + "default": 1, + "enabled": true, + "visible": "eq(-1,true)", + "lvalues": [ "5", "10", "15", "20" ] + } ] +} + diff --git a/plugin.video.alfa/channels/pelis123.py b/plugin.video.alfa/channels/pelis123.py new file mode 100644 index 00000000..9a1cb75b --- /dev/null +++ b/plugin.video.alfa/channels/pelis123.py @@ -0,0 +1,359 @@ +# -*- coding: utf-8 -*- + +import re, urllib + +from channels import autoplay +from platformcode import config, logger, platformtools +from core.item import Item +from core import httptools, scrapertools, jsontools, tmdb +from core import servertools +from channels import filtertools + + +host = 'https://pelis123.tv/' + + +IDIOMAS = {'LAT': 'LAT', 'ESP':'ESP', 'VOSE': 'VOSE'} +list_language = IDIOMAS.values() +list_servers = ['openload', 'fembed', 'directo'] +list_quality = [] + +__channel__='pelis123' +__comprueba_enlaces__ = config.get_setting('comprueba_enlaces', __channel__) +__comprueba_enlaces_num__ = config.get_setting('comprueba_enlaces_num', __channel__) +try: + __modo_grafico__ = config.get_setting('modo_grafico', __channel__) +except: + __modo_grafico__ = True + + +def mainlist(item): + logger.info() + itemlist = [] + autoplay.init(item.channel, list_servers, list_quality) + + itemlist.append(item.clone( title = 'Películas', action = 'mainlist_pelis' )) + itemlist.append(item.clone( title = 'Series', action = 'mainlist_series' )) + + itemlist.append(item.clone( title = 'Buscar ...', action = 'search', search_type = 'all' )) + itemlist.append(item.clone(title="Configurar canal...", text_color="gold", action="configuracion", folder=False)) + autoplay.show_option(item.channel, itemlist) + + return itemlist + + +def mainlist_pelis(item): + logger.info() + itemlist = [] + + itemlist.append(item.clone( title = 'Nuevas películas', action = 'list_all', url = host + 'film.html', search_type = 'movie' )) + itemlist.append(item.clone( title = 'Destacadas', action = 'list_all', url = host + 'featured.html', search_type = 'movie' )) + # ~ itemlist.append(item.clone( title = 'Estrenos de cine', action = 'list_all', url = host + 'cinema.html', search_type = 'movie' )) + + itemlist.append(item.clone( title = 'Por género', action = 'generos', search_type = 'movie' )) + itemlist.append(item.clone( title = 'Por idioma', action = 'idiomas', search_type = 'movie' )) + itemlist.append(item.clone( title = 'Por país', action = 'paises', search_type = 'movie' )) + itemlist.append(item.clone( title = 'Por año', action = 'anios', search_type = 'movie' )) + + itemlist.append(item.clone( title = 'Buscar película ...', action = 'search', search_type = 'movie' )) + + return itemlist + + +def mainlist_series(item): + logger.info() + itemlist = [] + + itemlist.append(item.clone( title = 'Nuevas series', action = 'list_all', url = host + 'series.html', search_type = 'tvshow' )) + + itemlist.append(item.clone( title = 'Por género', action = 'generos', search_type = 'tvshow' )) + + itemlist.append(item.clone( title = 'Buscar serie ...', action = 'search', search_type = 'tvshow' )) + + return itemlist + + +def anios(item): + logger.info() + return extraer_opciones(item, 'year') + +def generos(item): + logger.info() + return extraer_opciones(item, 'genre') + +def idiomas(item): + logger.info() + return extraer_opciones(item, 'lang') + +def paises(item): + logger.info() + return extraer_opciones(item, 'country') + +def extraer_opciones(item, select_id): + itemlist = [] + + url = host + 'search.html' + data = httptools.downloadpage(url).data + # ~ logger.debug(data) + url += '?type=' + ('series' if item.search_type == 'tvshow' else 'movies') + url += '&order=last_update&order_by=desc' + + bloque = scrapertools.find_single_match(data, '' % select_id) + + matches = re.compile('