From 8e68ea7b46cc0db5a553ec070b847bc11ee301de Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Fri, 24 Apr 2020 09:11:42 +0200 Subject: [PATCH 1/2] Fix Ultima Ricerca --- platformcode/launcher.py | 12 +----------- specials/search.py | 1 - 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/platformcode/launcher.py b/platformcode/launcher.py index 7344079b..d015f2ec 100644 --- a/platformcode/launcher.py +++ b/platformcode/launcher.py @@ -272,17 +272,7 @@ def run(item=None): logger.info("item.action=%s" % item.action.upper()) from core import channeltools - # last_search = "" - # last_search_active = config.get_setting("last_search", "search") - # if last_search_active: - # try: - # current_saved_searches_list = list(config.get_setting("saved_searches_list", "search")) - # last_search = current_saved_searches_list[0] - # except: - # pass - - # last_search = channeltools.get_channel_setting('Last_searched', 'search', '') - if channeltools.get_channel_setting('last_search', 'search'): + if config.get_setting('last_search'): last_search = channeltools.get_channel_setting('Last_searched', 'search', '') else: last_search = '' diff --git a/specials/search.py b/specials/search.py index f9c9277b..20247a93 100644 --- a/specials/search.py +++ b/specials/search.py @@ -114,7 +114,6 @@ def new_search(item): itemlist = [] if config.get_setting('last_search'): - # if channeltools.get_channel_setting('last_search', 'search'): last_search = channeltools.get_channel_setting('Last_searched', 'search', '') else: last_search = '' From 9d2bd2f2553e6caec589665cb3d97f65eca27e56 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 25 Apr 2020 15:04:45 +0200 Subject: [PATCH 2/2] Fix Serittvonline --- channels.json | 2 +- channels/serietvonline.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/channels.json b/channels.json index 2a415835..f564e9f9 100644 --- a/channels.json +++ b/channels.json @@ -36,7 +36,7 @@ "pufimovies": "https://pufimovies.com", "raiplay": "https://www.raiplay.it", "seriehd": "https://seriehd.digital", - "serietvonline": "https://serietvonline.casa", + "serietvonline": "https://serietvonline.host", "serietvsubita": "http://serietvsubita.xyz", "serietvu": "https://www.serietvu.link", "streamtime": "https://t.me/s/StreamTime", diff --git a/channels/serietvonline.py b/channels/serietvonline.py index 849ab720..f80927bf 100644 --- a/channels/serietvonline.py +++ b/channels/serietvonline.py @@ -22,8 +22,7 @@ from core.item import Item def findhost(): - data = httptools.downloadpage('https://serietvonline.me/').data - host = scrapertools.find_single_match(data, r'') + host = support.match('https://t.me/s/serietvonlineITA', patron=r'