From 604ed63f11ef5b1af02201f4554d15514f1fef0a Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 13 Feb 2021 09:52:13 +0100 Subject: [PATCH] try except nella ricerca de 'Il Genio dello Streaming' --- channels/ilgeniodellostreaming.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/channels/ilgeniodellostreaming.py b/channels/ilgeniodellostreaming.py index 956df601..790622d0 100644 --- a/channels/ilgeniodellostreaming.py +++ b/channels/ilgeniodellostreaming.py @@ -129,13 +129,13 @@ def search(item, text): itemlist = [] text = text.replace(' ', '+') item.url = host + "?s=" + text - # try: - item.args = 'search' - return peliculas(item) - # except: - # import sys - # for line in sys.exc_info(): - # info("%s" % line) + try: + item.args = 'search' + return peliculas(item) + except: + import sys + for line in sys.exc_info(): + info("%s" % line) return []