Fixed subtitrari noi provider issue while downloading some subtitles. #2708

pull/2718/head v1.4.6-beta.3
morpheus65535 1 month ago
parent 75a58139e0
commit 92107a2425

@ -282,4 +282,7 @@ class SubtitrarinoiProvider(Provider, ProviderSubtitleArchiveMixin):
r.raise_for_status() r.raise_for_status()
archive = get_archive_from_bytes(r.content) archive = get_archive_from_bytes(r.content)
if archive:
subtitle.content = get_subtitle_from_archive(archive, episode=subtitle.desired_episode) subtitle.content = get_subtitle_from_archive(archive, episode=subtitle.desired_episode)
else:
subtitle.content = r.content

Loading…
Cancel
Save