From ffa617b6386895c1146418488bc6d19fffceb0e4 Mon Sep 17 00:00:00 2001 From: vitiko98 Date: Fri, 16 Oct 2020 16:36:03 -0400 Subject: [PATCH] slice --- libs/subliminal_patch/providers/argenteam.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libs/subliminal_patch/providers/argenteam.py b/libs/subliminal_patch/providers/argenteam.py index 83c0e9d8c..020bbc9be 100644 --- a/libs/subliminal_patch/providers/argenteam.py +++ b/libs/subliminal_patch/providers/argenteam.py @@ -266,18 +266,14 @@ class ArgenteamProvider(Provider, ProviderSubtitleArchiveMixin): def list_subtitles(self, video, languages): if isinstance(video, Episode): - titles = [video.series] + video.alternative_series + titles = [video.series] + video.alternative_series[:2] else: - titles = [video.title] + video.alternative_titles + titles = [video.title] + video.alternative_titles[:2] - inc = 0 for title in titles: subs = self.query(title, video, titles=titles) if subs: return subs - inc += 1 - if inc > 2: - break time.sleep(self.multi_result_throttle) return []