From 356fb745f0b22538aae7df75c0aaa4866e159e78 Mon Sep 17 00:00:00 2001 From: Bazarr Date: Mon, 11 May 2020 15:43:20 +0100 Subject: [PATCH] Add IPAddressBlocked to VALID_THROTTLE_EXCEPTIONS --- bazarr/get_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/get_providers.py b/bazarr/get_providers.py index 417eb14dc..b0f892afa 100644 --- a/bazarr/get_providers.py +++ b/bazarr/get_providers.py @@ -25,7 +25,7 @@ def time_until_end_of_day(dt=None): hours_until_end_of_day = time_until_end_of_day().seconds // 3600 + 1 VALID_THROTTLE_EXCEPTIONS = (TooManyRequests, DownloadLimitExceeded, ServiceUnavailable, APIThrottled, - ParseResponseError) + ParseResponseError, IPAddressBlocked) VALID_COUNT_EXCEPTIONS = ('TooManyRequests', 'ServiceUnavailable', 'APIThrottled') PROVIDER_THROTTLE_MAP = {