diff --git a/channels/tantifilm.py b/channels/tantifilm.py index 898c639a..120fe73b 100644 --- a/channels/tantifilm.py +++ b/channels/tantifilm.py @@ -65,7 +65,7 @@ def peliculas(item): if item.args == 'search': patron = r'[^<]+)\).*?".*?[^"]+)".*?
\s*

(?P[^<]+)<\/p>' - support.regexDbg(item, patron, headers) + # support.regexDbg(item, patron, headers) else: patronNext = r'

]+>|)>?\s?]+>\s?<\/a>[^>]+>[^>]+>[^>]+>(?P.+?)(?:[ ]<lang>[sSuUbB\-iItTaA]+)?(?:[ ]?\((?P<year>[\-\d+]+)\)).[^<]+[^>]+><\/a>.+?<p>\s*(?P<quality>[a-zA-Z-0-9\.]+)\s*<\/p>[^>]+>' diff --git a/specials/search.py b/specials/search.py index 006cab49..39bd2ac7 100644 --- a/specials/search.py +++ b/specials/search.py @@ -438,8 +438,9 @@ def channel_search(search_results, channel_parameters, tecleado): if len(result): if not channel_parameters["title"].capitalize() in search_results: search_results[channel_parameters["title"].capitalize()] = [] - search_results[channel_parameters["title"].capitalize()].append({"item": item, + search_results[channel_parameters['title']].append({"item": item, "itemlist": result, + "thumbnail": channel_parameters["thumbnail"], "adult": channel_parameters["adult"]}) except: @@ -613,8 +614,12 @@ def do_search(item, categories=None): title += " (%s)" % len(element["itemlist"]) title = re.sub("\[COLOR [^\]]+\]", "", title) title = re.sub("\[/COLOR]", "", title) + plot = config.get_localized_string(60491) + '\n' + for i in element["itemlist"]: + if type(i) == Item: + plot += i.title + '\n' itemlist.append(Item(title=title, channel="search", action="show_result", url=element["item"].url, - extra=element["item"].extra, folder=True, adult=element["adult"], + extra=element["item"].extra, folder=True, adult=element["adult"], plot=plot, thumbnail=element["thumbnail"], from_action="search", from_channel=element["item"].channel, tecleado=tecleado)) # todos los resultados juntos, en la misma lista else: