diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py index 0aee93a2..01859ef6 100644 --- a/channels/cinemalibero.py +++ b/channels/cinemalibero.py @@ -48,7 +48,6 @@ def peliculas(item): patron = r'[^\)]+)\)">' elif item.contentType == 'tvshow': if item.args == 'update': - debug = True patron = r'.+?)\)">\s
(?P.+?)(?: – Serie TV)?(?:\([sSuUbBiItTaA\-]+\))?[ ]?(?P<year>\d{4})?</div>[ ]<div class="genere">(?:[\w]+?\.?\s?[\s|S]?[\dx\-S]+?\s\(?(?P<lang>[iItTaA]+|[sSuUbBiItTaA\-]+)\)?\s?(?P<quality>[HD]+)?|.+?\(?(?P<lang2>[sSuUbBiItTaA\-]+)?\)?</div>)' pagination = 25 else: diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index b3ff8dac..6f4cc2bf 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -726,6 +726,8 @@ def play_video(item, strm=False, force_direct=False, autoplay=False): mediaurl, view, mpd = get_video_seleccionado(item, seleccion, video_urls) if mediaurl == "": return + # no certificate verification + mediaurl = mediaurl.replace('https://', 'http://') # se obtiene la información del video. if not item.contentThumbnail: diff --git a/servers/turbovid.py b/servers/turbovid.py index 77931d3b..4d14c446 100644 --- a/servers/turbovid.py +++ b/servers/turbovid.py @@ -31,7 +31,6 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= sources = scrapertools.find_single_match(data, r'sources: \[([^\]]+)\]') for media_url in scrapertools.find_multiple_matches(sources, '"([^"]+)"'): - media_url = media_url.replace('https:', 'http:') ext = scrapertools.get_filename_from_url(media_url)[-4:] video_urls.append(["%s [%s]" % (ext, server), media_url]) return video_urls