diff --git a/channels/cineblog01.py b/channels/cineblog01.py index be882be5..8619b218 100644 --- a/channels/cineblog01.py +++ b/channels/cineblog01.py @@ -145,7 +145,8 @@ def peliculas(item): patron = r'src="(?P[^"]+)" alt="(?P.*?)(?: – \d+×\d+)?(?:"| – )(?:(?P<lang>Sub-ITA|ITA))?[^>]*>[^>]+>[^>]+><a href="(?P<url>[^"]+)".*?<div class="rpwe-summary">.*?\((?P<year>\d{4})[^\)]*\) (?P<plot>[^<]+)<' action = 'episodios' elif '/serietv/' not in item.url: - patron = r'<div class="?card-image"?>.*?<img src="?(?P<thumb>[^" ]+)"? alt.*?<a href="?(?P<url>[^" >]+)(?:\/|"|\s+)>(?P<title>[^<[(]+)(?:\[(?P<quality>[A-Za-z0-9/-]+)])? (?:\((?P<year>[0-9]{4})\))?.*?<strong>(?P<genre>[^<>&–]+).*?DURATA (?P<duration>[0-9]+).*?<br(?: /)?>(?P<plot>[^<>]+)' + patron = r'<div class="?card-image"?>.*?<img src="?(?P<thumb>[^" ]+)"? alt[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+><a href="?(?P<url>[^" >]+)(?:\/|"|\s+)>(?P<title>[^<[(]+)(?:\[(?P<quality>[A-Za-z0-9/-]+)])? (?:\((?P<year>[0-9]{4})\))?[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<genre>[^<>&–]+)(?:[^ ]+\s*DURATA\s*(?P<duration>[0-9]+)[^>]+>[^>]+>[^>]+>(?P<plot>[^<>]+))?' + # patron = r'<div class="?card-image"?>.*?<img src="?(?P<thumb>[^" ]+)"? alt.*?<a href="?(?P<url>[^" >]+)(?:\/|"|\s+)>(?P<title>[^<[(]+)(?:\[(?P<quality>[A-Za-z0-9/-]+)])? (?:\((?P<year>[0-9]{4})\))?.*?<strong>(?P<genre>[^<>&–]+).*?DURATA (?P<duration>[0-9]+).*?<br(?: /)?>(?P<plot>[^<>]+)' action = 'findvideos' else: # debug = True @@ -162,8 +163,8 @@ def peliculas(item): @support.scrape def episodios(item): - patronBlock = r'(?P<block><div class="sp-head[a-z ]*?" title="Espandi">\s*(?:STAGIONE [0-9]+|MINISERIE) - (?P<lang>[^-<]+)(?:- (?P<quality>[^-<]+))?.*?[^<>]*?</div>.*?)<div class="spdiv">\[riduci\]</div>' - patron = '(?:<p>|<strong>)(?P<episode>[0-9]+(?:×|×)[0-9]+)(?P<url>.*?)(?:</p>|<br)' + patronBlock = r'(?P<block><div class="sp-head[a-z ]*?" title="Espandi">\s*(?:STAGION[EI]\s*(?:DA\s*[0-9]+\s*A)?\s*[0-9]+|MINISERIE) - (?P<lang>[^-<]+)(?:- (?P<quality>[^-<]+))?.*?[^<>]*?<\/div>.*?)<div class="spdiv">\[riduci\]<\/div>' + patron = '(?:<p>|<strong>)(?P<episode>[0-9]+(?:×|×)[0-9]+)\s*(?P<title2>[^&<]*)?(?:–|-)?\s*(?P<url>.*?)(?:<\/p>|<br)' return locals() diff --git a/channels/eurostreaming.py b/channels/eurostreaming.py index 2101e2d4..ae2da54b 100644 --- a/channels/eurostreaming.py +++ b/channels/eurostreaming.py @@ -25,7 +25,7 @@ headers = [['Referer', host]] -list_servers = ['verystream', 'wstream', 'speedvideo', 'flashx', 'nowvideo', 'streamango', 'deltabit', 'openload'] +list_servers = ['akstream', 'wstream', 'mixdrop', 'vidtome', 'turbovid', 'speedvideo', 'flashx', 'nowvideo', 'deltabit'] list_quality = ['default'] @support.menu diff --git a/channels/fastsubita.py b/channels/fastsubita.py index b96af5e8..a20d354c 100644 --- a/channels/fastsubita.py +++ b/channels/fastsubita.py @@ -23,7 +23,7 @@ from platformcode import config host = config.get_channel_url() headers = [['Referer', host]] -list_servers = ['verystream', 'openload', 'speedvideo', 'wstream', 'flashx', 'vidoza', 'vidtome'] +list_servers = ['wstream', 'upstream', 'flashx', 'vidoza', 'vidtome'] list_quality = ['default'] diff --git a/channels/raiplay.json b/channels/raiplay.json index df743a5c..cf69a5b1 100644 --- a/channels/raiplay.json +++ b/channels/raiplay.json @@ -6,7 +6,7 @@ "language": ["ita"], "thumbnail": "raiplay.png", "banner": "raiplay.png", - "categories": ["movie", "tvshow", "documentary"], + "categories": ["movie", "tvshow", "documentary", "live"], "not_active": ["include_in_newest"], "settings": [], "cloudflare": true diff --git a/channelselector.py b/channelselector.py index 2eeeb8f0..ebafe694 100644 --- a/channelselector.py +++ b/channelselector.py @@ -80,7 +80,7 @@ def getchanneltypes(view="thumb_"): logger.info() # Lista de categorias - channel_types = ["movie", "tvshow", "anime", "documentary", "vos", "direct"] # , "torrent" + channel_types = ["movie", "tvshow", "anime", "documentary", "vos", "direct", "live"] # , "torrent" if config.get_setting("adult_mode") != 0: channel_types.append("adult") diff --git a/core/support.py b/core/support.py index b7f4870a..bd7f6802 100755 --- a/core/support.py +++ b/core/support.py @@ -1018,6 +1018,7 @@ def server(item, data='', itemlist=[], headers='', AutoPlay=True, CheckLinks=Tru item.title = typo(item.contentTitle.strip(),'bold') if item.contentType == 'movie' or (config.get_localized_string(30161) in item.title) else item.title + videoitem.plot= typo(videoitem.title, 'bold') videoitem.title = item.title + (typo(videoitem.title, '_ color kod [] bold') if videoitem.title else "") + (typo(videoitem.quality, '_ color kod []') if videoitem.quality else "") videoitem.fulltitle = item.fulltitle videoitem.show = item.show diff --git a/core/tmdb.py b/core/tmdb.py index a369f6d0..06c919ed 100644 --- a/core/tmdb.py +++ b/core/tmdb.py @@ -183,7 +183,7 @@ def cache_response(fn): # logger.debug("TARDADO %s" % elapsed_time) # error al obtener los datos - except Exception, ex: + except Exception as ex: message = "An exception of type %s occured. Arguments:\n%s" % (type(ex).__name__, repr(ex.args)) logger.error("error in: %s" % message) @@ -217,7 +217,7 @@ def set_infoLabels(source, seekTmdb=True, idioma_busqueda=def_lang, forced=False logger.debug("The data of %i links were obtained in %f seconds" % (len(source), time.time() - start_time)) else: ret = set_infoLabels_item(source, seekTmdb, idioma_busqueda) - logger.debug("The data of %i links were obtained in %f seconds" % (time.time() - start_time)) + logger.debug("The data were obtained in %f seconds" % (time.time() - start_time)) return ret @@ -878,7 +878,7 @@ class Tmdb(object): # logger.debug("result_data es %s" % dict_data) # error al obtener los datos - except Exception, ex: + except Exception as ex: message = "An exception of type %s occured. Arguments:\n%s" % (type(ex).__name__, repr(ex.args)) logger.error("error in: %s" % message) dict_data = {}