From ff8865555aaa81c8cf42e799734317d46bd96ca5 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 10 Oct 2021 08:20:06 -0400 Subject: [PATCH] Fixed opensubtitles.com throttling delay when download limit is reached. --- bazarr/get_providers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bazarr/get_providers.py b/bazarr/get_providers.py index 44c7bc3a8..f020250a0 100644 --- a/bazarr/get_providers.py +++ b/bazarr/get_providers.py @@ -57,8 +57,7 @@ PROVIDER_THROTTLE_MAP = { }, "opensubtitlescom": { TooManyRequests : (datetime.timedelta(minutes=1), "1 minute"), - DownloadLimitExceeded: ( - datetime.timedelta(hours=hours_until_end_of_day), "{} hours".format(str(hours_until_end_of_day))), + DownloadLimitExceeded: (datetime.timedelta(hours=24), "24 hours"), }, "addic7ed" : { DownloadLimitExceeded: (datetime.timedelta(hours=3), "3 hours"),