diff --git a/libs/subliminal_patch/providers/opensubtitlescom.py b/libs/subliminal_patch/providers/opensubtitlescom.py index 2ea6b29de..ca90cf7aa 100644 --- a/libs/subliminal_patch/providers/opensubtitlescom.py +++ b/libs/subliminal_patch/providers/opensubtitlescom.py @@ -518,6 +518,10 @@ def checked(fn, raise_api_limit=False, validate_token=False, validate_json=False elif status_code == 429: log_request_response(response) raise TooManyRequests() + elif status_code == 500: + logging.debug("Server side exception raised while downloading from opensubtitles.com website. They " + "should mitigate this soon.") + return None elif status_code == 502: # this one should deal with Bad Gateway issue on their side. raise APIThrottled()