From 224f1de723756e3a3538d6fdfb39b6628e471da5 Mon Sep 17 00:00:00 2001 From: greko17 Date: Thu, 7 Nov 2019 23:34:01 +0100 Subject: [PATCH] add: serietvsubita.py cerca --- channels/serietvsubita.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/channels/serietvsubita.py b/channels/serietvsubita.py index c69708ba..201b250d 100644 --- a/channels/serietvsubita.py +++ b/channels/serietvsubita.py @@ -30,6 +30,7 @@ def mainlist(item): ('Serie TV bold',[ '', 'lista_serie', '', 'tvshow']), ('Per Lettera', ['', 'list_az', 'serie', 'tvshow']) ] + cerca = [(support.typo('Cerca...', 'bold'),[ '', 'search', '', 'tvshow'])] ## support.aplay(item, itemlist, list_servers, list_quality) ## support.channel_config(item, itemlist) @@ -297,9 +298,9 @@ def search(item, texto): log(texto) itemlist = [] - patron = '
  • ([^<]+)' + patron = '
  • ([^<]+)' matches = support.match(item, patron, headers=headers)[0] - + support.regexDbg(item, patron, headers) for i, (scrapedurl, scrapedtitle) in enumerate(matches): if texto.upper() in scrapedtitle.upper(): scrapedthumbnail = ""