From baf7a7300d7d3556642dfab48b37c2a64743afeb Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Wed, 24 May 2023 19:14:23 -0400 Subject: [PATCH] Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152 --- libs/subliminal_patch/providers/opensubtitlescom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/subliminal_patch/providers/opensubtitlescom.py b/libs/subliminal_patch/providers/opensubtitlescom.py index 97c4f4ffe..7f2a9a1dc 100644 --- a/libs/subliminal_patch/providers/opensubtitlescom.py +++ b/libs/subliminal_patch/providers/opensubtitlescom.py @@ -400,7 +400,7 @@ class OpenSubtitlesComProvider(ProviderRetryMixin, Provider): logger.info('Downloading subtitle %r', subtitle) headers = {'Accept': 'application/json', 'Content-Type': 'application/json', - 'Authorization': 'Beaker ' + self.token} + 'Authorization': 'Bearer ' + self.token} res = self.retry( lambda: checked( lambda: self.session.post(self.server_url + 'download',