summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-05-24 19:14:23 -0400
committermorpheus65535 <[email protected]>2023-05-24 19:14:23 -0400
commitbaf7a7300d7d3556642dfab48b37c2a64743afeb (patch)
treef8b5db19614685d1d34e6d9b876c15784eb39f22
parent6f92e35ba0576136306ecf49e46c9c4ee020278c (diff)
downloadbazarr-1.2.2-beta.8.tar.gz
bazarr-1.2.2-beta.8.zip
Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152v1.2.2-beta.8
-rw-r--r--libs/subliminal_patch/providers/opensubtitlescom.py2
1 files changed, 1 insertions, 1 deletions
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',