From 4726019e4db3ef52122c1a5cc6cefce4a8856e8a Mon Sep 17 00:00:00 2001 From: mac12m99 Date: Tue, 23 Jul 2019 20:42:11 +0200 Subject: [PATCH] rimosso canale clone e canale chiuso --- channels.json | 1 - channels/altadefinizione01_club.json | 2 +- channels/cinemastreaming.json | 71 ---------- channels/cinemastreaming.py | 191 --------------------------- channels/seriehd.py | 4 +- 5 files changed, 4 insertions(+), 265 deletions(-) delete mode 100644 channels/cinemastreaming.json delete mode 100644 channels/cinemastreaming.py diff --git a/channels.json b/channels.json index 21216c1a..f1e8d571 100644 --- a/channels.json +++ b/channels.json @@ -57,7 +57,6 @@ "serietvsubita": "http://serietvsubita.xyz", "serietvu": "https://www.serietvu.club", "streamingaltadefinizione": "https://www.streamingaltadefinizione.best", - "streamking": "http://streamking.cc", "tantifilm": "https://www.tantifilm.eu", "toonitalia": "https://toonitalia.org" } diff --git a/channels/altadefinizione01_club.json b/channels/altadefinizione01_club.json index 8c6aa266..34c36518 100644 --- a/channels/altadefinizione01_club.json +++ b/channels/altadefinizione01_club.json @@ -1,7 +1,7 @@ { "id": "altadefinizione01_club", "name": "Altadefinizione01 C", - "active": true, + "active": false, "adult": false, "language": ["ita"], "fanart": "https://www.altadefinizione01.vision/templates/Darktemplate/images/logo.png", diff --git a/channels/cinemastreaming.json b/channels/cinemastreaming.json deleted file mode 100644 index 261f294b..00000000 --- a/channels/cinemastreaming.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "id": "cinemastreaming", - "name": "Cinemastreaming", - "language": ["ita"], - "active": false, - "adult": false, - "thumbnail": "https://www.telegramitalia.it/wp-content/uploads/2018/02/IMG_20180222_214809_805.jpg", - "banner": "https://www.telegramitalia.it/wp-content/uploads/2018/02/IMG_20180222_214809_805.jpg", - "categories": ["tvshow", "movie"], - "settings": [ - { - "id": "include_in_global_search", - "type": "bool", - "label": "Includi ricerca globale", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_peliculas", - "type": "bool", - "label": "Includi in Novità - Film", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_series", - "type": "bool", - "label": "Includi in Novità - Serie TV", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "include_in_newest_italiano", - "type": "bool", - "label": "Includi in Novità - Italiano", - "default": true, - "enabled": true, - "visible": true - }, - - { - "id": "checklinks", - "type": "bool", - "label": "Verifica se i link esistono", - "default": false, - "enabled": true, - "visible": true - }, - { - "id": "checklinks_number", - "type": "list", - "label": "Numero de link da verificare", - "default": 1, - "enabled": true, - "visible": "eq(-1,true)", - "lvalues": [ "5", "10", "15", "20" ] - }, - { - "id": "filter_languages", - "type": "list", - "label": "Mostra link in lingua...", - "default": 0, - "enabled": true, - "visible": true, - "lvalues": ["Non filtrare","IT"] - } - ] -} \ No newline at end of file diff --git a/channels/cinemastreaming.py b/channels/cinemastreaming.py deleted file mode 100644 index ae7c72ef..00000000 --- a/channels/cinemastreaming.py +++ /dev/null @@ -1,191 +0,0 @@ -# -*- coding: utf-8 -*- -# ------------------------------------------------------------ -# Canale per cinemastreaming -# ------------------------------------------------------------ -import re - -from core import scrapertools, httptools, scrapertoolsV2, support -from core.item import Item -from specials import autoplay -from platformcode import config - -__channel__ = "cinemastreaming" -host = config.get_channel_url(__channel__) -IDIOMAS = {'Italiano': 'IT'} -list_language = IDIOMAS.values() -list_servers = ['openload', 'streamango'] -list_quality = ['1080p', '1080p 3D', 'SD', 'CAM', 'default'] - -headers = [['Referer', host]] - - -def mainlist(item): - support.log() - - # Menu Principale - itemlist = [] - support.menu(itemlist, 'Film bold', 'peliculas', host + '/film/') - support.menu(itemlist, 'Per genere submenu', 'menu', host, args="Film per Genere") - support.menu(itemlist, 'Anime bold', 'peliculas', host + '/category/anime/') - support.menu(itemlist, 'Serie TV bold', 'peliculas', host + '/serie-tv/', contentType='episode') - support.menu(itemlist, 'Ultime Uscite submenu', 'peliculas', host + "/stagioni/", "episode", args='latests') - support.menu(itemlist, 'Ultimi Episodi submenu', 'peliculas_latest_ep', host + "/episodi/", "episode", args='lateste') - support.menu(itemlist, '[COLOR blue]Cerca...[/COLOR]', 'search') - - autoplay.init(item.channel, list_servers, list_quality) - autoplay.show_option(item.channel, itemlist) - - return itemlist - - -def peliculas(item): - support.log() - list_groups = ["url", "thumb", "title", "year", "rating", "duration"] - - patron = r'([^<]+).*?Year">' - - if item.args == "latests": - patron += r'([^<]+)' - else: - patron += r'(\d{4}).*?AAIco-star.*?>([^<]+).*?AAIco-access_time">([^<]+).*?Qlty' - - patron_next = r'page-numbers current.*?href="([^"]+)"' - - if item.contentType == "movie": - patron += r'\">([^<]+)' - list_groups.append("quality") - - action = "findvideos" if item.contentType == "movie" else "episodios" - - return support.scrape(item, patron, list_groups, patronNext=patron_next, action=action) - - -def peliculas_latest_ep(item): - - patron = r'([^<]+)<\/span>([^<]+).*?([^<]+)' - - data = httptools.downloadpage(item.url).data - - matches = re.compile(patron, re.DOTALL).findall(data) - itemlist = [] - for scrapedurl, scrapedthumbnail, scrapednum, scrapedep, scrapedtitle in matches: - itemlist.append( - Item(channel=item.channel, - action="findvideos", - contentType=item.contentType, - title="[B]" + scrapednum + "[/B]" + scrapedep + " - " + scrapedtitle, - fulltitle=scrapedep + " " + scrapedtitle, - show=scrapedep + " " + scrapedtitle, - url=scrapedurl, - extra=item.extra, - thumbnail="http:" + scrapedthumbnail, - infoLabels=item.infoLabels - )) - - support.nextPage(itemlist, item, data, r'page-numbers current.*?href="([^"]+)"') - - return itemlist - - -def peliculas_menu(item): - itemlist = peliculas(item) - return itemlist[:-1] - - -def episodios(item): - patron = r'(.*?)<\/a>.*?>\d{4}<' - list_groups = ["url", "title", "year"] - - itemlist = support.scrape(item, patron, list_groups) - - for itm in itemlist: - fixedtitle = scrapertools.get_season_and_episode(itm.url) - itm.title = fixedtitle + " - " + itm.title - itm.fulltitle = fixedtitle + " - " + itm.fulltitle - - return itemlist - - -def menu(item): - patron_block = r'' - patron = r'menu-category-list">([^<]+)<' - list_groups = ["url", "title"] - - return support.scrape(item, patron, list_groups, blacklist="Anime", action="peliculas_menu", patron_block=patron_block) - - -def search(item, texto): - support.log("s=", texto) - item.url = host + "/?s=" + texto - try: - return peliculas(item) - # Continua la ricerca in caso di errore - except Exception, e: - import traceback - traceback.print_stack() - support.log(str(e)) - return [] - - -def newest(categoria): - support.log("newest" + categoria) - itemlist = [] - item = Item() - try: - if categoria == "series": - item.url = host + "/episodi/" - item.action = "peliculas" - item.args = "lateste" - item.contentType = "episode" - itemlist = peliculas(item) - - if itemlist[-1].action == "peliculas": - itemlist.pop() - - # Continua la ricerca in caso di errore - except Exception, e: - import traceback - traceback.print_stack() - support.log(str(e)) - return [] - - return itemlist - - -def findvideos(item): - - if item.quality.lower() in ["ended", "canceled", "returning series"]: - return episodios(item) - - itemlist = [] - data = scrapertoolsV2.decodeHtmlentities(httptools.downloadpage(item.url).data) - btns = re.compile(r'data-tplayernv="Opt.*?>([^<]+)([^<]+)', re.DOTALL).findall(data) - matches = re.compile(r'