|
|
@ -266,15 +266,14 @@ class ArgenteamProvider(Provider, ProviderSubtitleArchiveMixin):
|
|
|
|
|
|
|
|
|
|
|
|
def list_subtitles(self, video, languages):
|
|
|
|
def list_subtitles(self, video, languages):
|
|
|
|
if isinstance(video, Episode):
|
|
|
|
if isinstance(video, Episode):
|
|
|
|
titles = [video.series] + video.alternative_series
|
|
|
|
titles = [video.series] + video.alternative_series[:2]
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
titles = [video.title] + video.alternative_titles
|
|
|
|
titles = [video.title] + video.alternative_titles[:2]
|
|
|
|
|
|
|
|
|
|
|
|
for title in titles:
|
|
|
|
for title in titles:
|
|
|
|
subs = self.query(title, video, titles=titles)
|
|
|
|
subs = self.query(title, video, titles=titles)
|
|
|
|
if subs:
|
|
|
|
if subs:
|
|
|
|
return subs
|
|
|
|
return subs
|
|
|
|
|
|
|
|
|
|
|
|
time.sleep(self.multi_result_throttle)
|
|
|
|
time.sleep(self.multi_result_throttle)
|
|
|
|
|
|
|
|
|
|
|
|
return []
|
|
|
|
return []
|
|
|
|