diff --git a/channels/tantifilm.json b/channels/tantifilm.json index d716a90c..1cf987db 100644 --- a/channels/tantifilm.json +++ b/channels/tantifilm.json @@ -2,7 +2,7 @@ "id": "tantifilm", "name": "Tantifilm", "language": ["ita"], - "active": false, + "active": true, "thumbnail": "tantifilm.png", "banner": "tantifilm.png", "categories": ["tvshow", "movie", "anime"], diff --git a/channels/tantifilm.py b/channels/tantifilm.py index 73b9925d..0814c1bc 100644 --- a/channels/tantifilm.py +++ b/channels/tantifilm.py @@ -20,7 +20,7 @@ def findhost(url): host = config.get_channel_url(findhost) headers = [['Referer', host]] -player_iframe = r'\s?
(?P]+>\s*<\/a>[^>]+>[^>]+>[^>]+>(?P
]+>\s*<\/a>[^>]+>[^>]+>[^>]+>(?P
(?P
(.*?)<\/ul>'
+ patron_episode = 'Episodio<\/a>.*?
(?P
= 3: from concurrent import futures
+ else: from concurrent_py2 import futures
+ 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]))
+ for res in futures.as_completed(thL):
+ if res.result():
+ data += res.result()
+ patron = r'(?P(.*?)
')
- episodes = scrapertools.find_multiple_matches(season_data, '(.*?)
'
action = 'peliculas'