From 71e29792d04ec2be2f6d9142f14e256d2c486f97 Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Fri, 14 Jan 2022 18:30:55 +0100 Subject: [PATCH] Fix ordinamento episodi tantifilm --- channels/tantifilm.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/channels/tantifilm.py b/channels/tantifilm.py index cf8e6f2b..e41e0936 100644 --- a/channels/tantifilm.py +++ b/channels/tantifilm.py @@ -79,7 +79,7 @@ def newest(categoria): @support.scrape def peliculas(item): action = 'check' - item.contentType == 'undefined' + item.contentType = 'undefined' if item.args == 'search': patron = r'[0-9]+)[^<]*\)[^"]*"[^>]+>\s*[^"]+)".*?
\s*

(?P[^<]+)<\/p>' else: @@ -119,11 +119,12 @@ def episodios(item): with futures.ThreadPoolExecutor() as executor: thL = [] for i, season in enumerate(seasons.matches): - thL.append(executor.submit(get_season, seasons.data if i == 0 else '', season[0], season[1])) + thL.append(executor.submit(get_season, '', season[0], season[1])) for res in futures.as_completed(thL): if res.result(): data += res.result() patron = r'(?P\d+)x(?P\d+)\s*-\s*(?P[^\|]+)\|(?P<url>[^ ]+)' + # debug = True action = 'findvideos' def itemlistHook(itemlist):